]> Creatis software - gdcm.git/commitdiff
COMP: fix compilation warnings
authormalaterre <malaterre>
Thu, 10 Apr 2008 12:03:46 +0000 (12:03 +0000)
committermalaterre <malaterre>
Thu, 10 Apr 2008 12:03:46 +0000 (12:03 +0000)
src/gdcmArgMgr.cxx
src/gdcmArgMgr.h

index 4950d679f4280944ba7cdc47fbe05c6720cde36f..158d6bcfa96fd676aef2baf33110fb680490dfcc 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmArgMgr.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/10/04 17:50:42 $
-  Version:   $Revision: 1.26 $
+  Date:      $Date: 2008/04/10 12:03:46 $
+  Version:   $Revision: 1.27 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -805,7 +805,7 @@ const char *ArgMgr::LoadedParam ( const char *param, FILE *fd )
   int    nbcar = 0;
 
   /* remove spaces at the beginning****/
-  while ( isspace(carlu=fgetc (fd)) );
+  while ( isspace(carlu=fgetc (fd)) ) {}
   if (carlu==EOF)
      return 0;
   /* Search for a " */
index 6d84ca5414ff53868178ace869811f323649e2a0..3bf350c963078c7bcfd36145c6fc54033a1afad6 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmArgMgr.h,v $
   Language:  C++
-  Date:      $Date: 2007/09/28 11:03:52 $
-  Version:   $Revision: 1.14 $
+  Date:      $Date: 2008/04/10 12:03:46 $
+  Version:   $Revision: 1.15 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -106,6 +106,9 @@ private :
    char **ArgStr; //[ARGMAXCOUNT];  // Arguments 'strings'
    int   ArgCount;             // Number of arguments passed 
    char *Appel;                
+
+   ArgMgr(const ArgMgr&); // Not implemented
+   void operator=(const ArgMgr&); // Not implemented
 };
 } // end namespace gdcm