From: malaterre Date: Fri, 4 Feb 2005 23:49:23 +0000 (+0000) Subject: COMP: Fix -other people- warnings. I guess this is too hard to put proper flags in... X-Git-Tag: Version1.0.bp~83 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7a822ba5bef24e1f37e5ffa15d9c9fbaeb66cffa;p=gdcm.git COMP: Fix -other people- warnings. I guess this is too hard to put proper flags in the ccmake interface... --- diff --git a/src/gdcmElementSet.cxx b/src/gdcmElementSet.cxx index 7b306ee2..7982e616 100644 --- a/src/gdcmElementSet.cxx +++ b/src/gdcmElementSet.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmElementSet.cxx,v $ Language: C++ - Date: $Date: 2005/02/04 14:49:01 $ - Version: $Revision: 1.54 $ + Date: $Date: 2005/02/04 23:49:23 $ + Version: $Revision: 1.55 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -176,7 +176,7 @@ ValEntry *ElementSet::GetFirstValEntry() // an other iterator is needed to allow user iterate // at the same time both on DocEntries and ValEntries ItValEntryTagHT = ItTagHT; - if ( valEntry = dynamic_cast(d)) + if ( (valEntry = dynamic_cast(d))) return valEntry; return GetNextValEntry(); } @@ -194,7 +194,7 @@ ValEntry *ElementSet::GetNextValEntry() ++ItValEntryTagHT; while( d ) { - if ( valEntry = dynamic_cast(d)) + if ( (valEntry = dynamic_cast(d))) return valEntry; else return GetNextValEntry(); diff --git a/src/gdcmJpeg.cxx b/src/gdcmJpeg.cxx index ae4c2685..d95fbd54 100644 --- a/src/gdcmJpeg.cxx +++ b/src/gdcmJpeg.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmJpeg.cxx,v $ Language: C++ - Date: $Date: 2005/02/04 23:45:22 $ - Version: $Revision: 1.43 $ + Date: $Date: 2005/02/04 23:49:23 $ + Version: $Revision: 1.44 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -170,7 +170,7 @@ bool gdcm_write_JPEG_file (std::ofstream *fp, void *im_buf, /* And we're done! */ - return true; //??? + return true; } //----------------------------------------------------------------------------- diff --git a/src/gdcmSQItem.cxx b/src/gdcmSQItem.cxx index 1b46a482..c4af8e33 100644 --- a/src/gdcmSQItem.cxx +++ b/src/gdcmSQItem.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSQItem.cxx,v $ Language: C++ - Date: $Date: 2005/02/04 14:49:01 $ - Version: $Revision: 1.67 $ + Date: $Date: 2005/02/04 23:49:23 $ + Version: $Revision: 1.68 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -233,7 +233,7 @@ ValEntry *SQItem::GetFirstValEntry() // an other iterator is needed to allow user iterate // at the same time both on DocEntries and ValEntries ItValEntries = ItDocEntries; - if ( valEntry = dynamic_cast(d)) + if ( (valEntry = dynamic_cast(d))) return valEntry; return GetNextValEntry(); } @@ -249,7 +249,7 @@ ValEntry *SQItem::GetNextValEntry() ++ItValEntries; while( d ) { - if ( valEntry = dynamic_cast(d)) + if ( (valEntry = dynamic_cast(d))) return valEntry; else return GetNextValEntry();