From f585c3f25780570702a358c6eb3a11caf2412ef0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 24 Mar 2008 21:39:47 +0000 Subject: [PATCH] *** empty log message *** --- Common/CommandLine.cpp | 9 +++++---- Geo/GModelIO_MED.cpp | 3 +-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Common/CommandLine.cpp b/Common/CommandLine.cpp index e5c2979171..2736661864 100644 --- a/Common/CommandLine.cpp +++ b/Common/CommandLine.cpp @@ -1,4 +1,4 @@ -// $Id: CommandLine.cpp,v 1.124 2008-03-20 11:44:02 geuzaine Exp $ +// $Id: CommandLine.cpp,v 1.125 2008-03-24 21:39:46 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -283,9 +283,10 @@ void Get_Options(int argc, char *argv[]) else if(!strcmp(argv[i] + 1, "bgm")) { i++; if(argv[i] != NULL){ - CTX.bgm_filename=argv[i++]; - } else { - fprintf(stderr, ERROR_STR "Missing file name\n"); + CTX.bgm_filename = argv[i++]; + } + else{ + fprintf(stderr, ERROR_STR "Missing file name\n"); exit(1); } } diff --git a/Geo/GModelIO_MED.cpp b/Geo/GModelIO_MED.cpp index 675bea0b81..a4a89c81a6 100644 --- a/Geo/GModelIO_MED.cpp +++ b/Geo/GModelIO_MED.cpp @@ -1,4 +1,4 @@ -// $Id: GModelIO_MED.cpp,v 1.15 2008-03-24 21:03:18 geuzaine Exp $ +// $Id: GModelIO_MED.cpp,v 1.16 2008-03-24 21:39:47 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -323,7 +323,6 @@ int GModel::readMED(const std::string &name) (meshDim > 1) ? coord[meshDim * i + 1] : 0., (meshDim > 2) ? coord[meshDim * i + 2] : 0., 0, nodeTags.empty() ? 0 : nodeTags[i]); - // read elements for(int mshType = 0; mshType < 50; mshType++){ // loop over all possible MSH types med_geometrie_element type; -- GitLab