From: malaterre Date: Thu, 10 Apr 2008 12:03:46 +0000 (+0000) Subject: COMP: fix compilation warnings X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=017d0712473ee1e752f10323cb335f7d1335186b;p=gdcm.git COMP: fix compilation warnings --- diff --git a/src/gdcmArgMgr.cxx b/src/gdcmArgMgr.cxx index 4950d679..158d6bcf 100644 --- a/src/gdcmArgMgr.cxx +++ b/src/gdcmArgMgr.cxx @@ -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 " */ diff --git a/src/gdcmArgMgr.h b/src/gdcmArgMgr.h index 6d84ca54..3bf350c9 100644 --- a/src/gdcmArgMgr.h +++ b/src/gdcmArgMgr.h @@ -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