]> Creatis software - gdcm.git/blobdiff - src/gdcmjpegls/Decoder/global.c
COMP: Fix ttyf, might be used unitialized...
[gdcm.git] / 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));