From: malaterre Date: Thu, 16 Jun 2005 20:26:25 +0000 (+0000) Subject: COMP: Fix ttyf, might be used unitialized... X-Git-Tag: Version1.2.bp~487 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5d282cee6495c7114b44780805028c19ee5ba2bf;p=gdcm.git COMP: Fix ttyf, might be used unitialized... --- diff --git a/src/gdcmjpegls/Decoder/global.c b/src/gdcmjpegls/Decoder/global.c index 9375585e..1dcdd5f4 100644 --- a/src/gdcmjpegls/Decoder/global.c +++ b/src/gdcmjpegls/Decoder/global.c @@ -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));