From: solar Date: Tue, 11 Jan 2011 05:49:19 +0000 (+0000) Subject: Fix for #41. X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=6a0967a533b77ae2113da317450ca48e8569a12b Fix for #41. --- diff --git a/functions/_PDCLIB/scan.c b/functions/_PDCLIB/scan.c index 15b1d50..6910aef 100644 --- a/functions/_PDCLIB/scan.c +++ b/functions/_PDCLIB/scan.c @@ -39,7 +39,7 @@ */ static int GET( struct _PDCLIB_status_t * status ) { - int rc; + int rc = EOF; if ( status->stream != NULL ) { rc = getc( status->stream );