]> Creatis software - gdcm.git/commitdiff
COMP: Fix warning with gcc3.3
authormalaterre <malaterre>
Sun, 4 Sep 2005 15:34:40 +0000 (15:34 +0000)
committermalaterre <malaterre>
Sun, 4 Sep 2005 15:34:40 +0000 (15:34 +0000)
Example/PrintFile.cxx

index e4d7a8110a25a9044ae1f726879851c9b1827531..6589f220b9768da760cd49265b85f27b187fc1d8 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: PrintFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/09/02 07:06:23 $
-  Version:   $Revision: 1.51 $
+  Date:      $Date: 2005/09/04 15:34:40 $
+  Version:   $Revision: 1.52 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -188,7 +188,7 @@ int main(int argc, char *argv[])
    bool showlut = ( 0 != am->ArgMgrDefined("SHOWLUT") );
 
    bool ddict = am->ArgMgrDefined("dict");
-   char *dict;
+   char *dict = 0;
 
    if (ddict)
    {