]> Creatis software - gdcm.git/commitdiff
COMP: Fix ttyf, might be used unitialized...
authormalaterre <malaterre>
Thu, 16 Jun 2005 20:26:25 +0000 (20:26 +0000)
committermalaterre <malaterre>
Thu, 16 Jun 2005 20:26:25 +0000 (20:26 +0000)
src/gdcmjpegls/Decoder/global.c

index 9375585e8e0e834e59984da2e57c7e235dc28f39..1dcdd5f4e4fb3088b4acc76840e9a909ee91861e 100644 (file)
@@ -333,7 +333,7 @@ char *ttyfilename = "CON";
 void fprint_disclaimer(FILE *fp, int nopause)
 {
   char *p0, *p1;
-  FILE *ttyf;
+  FILE *ttyf = NULL;
   int  i; /*, c;*/
 
   nopause = nopause | !isatty(fileno(fp));