X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fscan.c;h=6910aef66f3b60586f16a164d395128a8615960e;hb=1934ab0478f95bd0ff278fe635701c0d823a5ba8;hp=15b1d503c32a5fa9481c48f65d625a08922508bb;hpb=fd3f9d6bac7e16b441fc6253e121177fc772d58f;p=pdclib.old 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 );