From 5d282cee6495c7114b44780805028c19ee5ba2bf Mon Sep 17 00:00:00 2001 From: malaterre Date: Thu, 16 Jun 2005 20:26:25 +0000 Subject: [PATCH] COMP: Fix ttyf, might be used unitialized... --- src/gdcmjpegls/Decoder/global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.48.1