]> Creatis software - gdcm.git/commitdiff
COMP: Fix -other people- warnings. I guess this is too hard to put proper flags in...
authormalaterre <malaterre>
Fri, 4 Feb 2005 23:49:23 +0000 (23:49 +0000)
committermalaterre <malaterre>
Fri, 4 Feb 2005 23:49:23 +0000 (23:49 +0000)
src/gdcmElementSet.cxx
src/gdcmJpeg.cxx
src/gdcmSQItem.cxx

index 7b306ee2b41b65d3b805cd38920e15726d9bbcf2..7982e616a1866340083671a09cf7c99a608fb640 100644 (file)
@@ -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<gdcm::ValEntry*>(d)) 
+   if ( (valEntry = dynamic_cast<gdcm::ValEntry*>(d)))
       return valEntry;
    return  GetNextValEntry();  
 }
@@ -194,7 +194,7 @@ ValEntry *ElementSet::GetNextValEntry()
    ++ItValEntryTagHT; 
    while( d )
    {
-      if ( valEntry = dynamic_cast<gdcm::ValEntry*>(d))
+      if ( (valEntry = dynamic_cast<gdcm::ValEntry*>(d)))
          return valEntry;
       else
          return GetNextValEntry(); 
index ae4c268510be8414f3e1bd653bf9798e2908c836..d95fbd541dd25263a1cd611fb3b44beead36c6ae 100644 (file)
@@ -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;
 }
 
 //-----------------------------------------------------------------------------
index 1b46a482946cdb1a6ae49a1c2f78d21b90d7270c..c4af8e33be42709c3053d26ac523e548161f133c 100644 (file)
@@ -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<gdcm::ValEntry*>(d))
+   if ( (valEntry = dynamic_cast<gdcm::ValEntry*>(d)))
       return valEntry;
    return  GetNextValEntry();
 }
@@ -249,7 +249,7 @@ ValEntry *SQItem::GetNextValEntry()
    ++ItValEntries; 
    while( d )
    {
-      if ( valEntry = dynamic_cast<gdcm::ValEntry*>(d))
+      if ( (valEntry = dynamic_cast<gdcm::ValEntry*>(d)))
          return valEntry;
       else
      return GetNextValEntry();