From: jpr Date: Thu, 8 Sep 2005 14:00:39 +0000 (+0000) Subject: Hope bcc5.5 will have no longer objections X-Git-Tag: Version1.2.bp~96 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a235a5cd9005bfe13f2ec2766662a351c4bee501;p=gdcm.git Hope bcc5.5 will have no longer objections --- diff --git a/src/gdcmArgMgr.cxx b/src/gdcmArgMgr.cxx index 79ef553c..c871273b 100644 --- a/src/gdcmArgMgr.cxx +++ b/src/gdcmArgMgr.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmArgMgr.cxx,v $ Language: C++ - Date: $Date: 2005/08/28 16:56:05 $ - Version: $Revision: 1.13 $ + Date: $Date: 2005/09/08 14:00:39 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -122,12 +122,13 @@ ArgMgr::~ArgMgr() */ int ArgMgr::ArgMgrDefined( const char *param ) { - int i, trouve ; + int i; + bool trouve; char *temp; temp = Majuscule ( param ) ; for ( trouve = false, i = ArgCount-1; i>0; i-- ) { - trouve = ! strcmp( ArgLab[i], temp ) ; + trouve = ( strcmp( ArgLab[i], temp )==0 ) ; if ( trouve ) { ArgUsed[i] = true ;