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