X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fscan.c;fp=functions%2F_PDCLIB%2Fscan.c;h=6910aef66f3b60586f16a164d395128a8615960e;hb=a03be10377e0ee641eded063e68c5c25d438b361;hp=15b1d503c32a5fa9481c48f65d625a08922508bb;hpb=cf3b5ee2cff8f100e553bdcc1a9ab5083c29f73a;p=fw%2Fpdclib 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 );