Fix for #41.
authorsolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Tue, 11 Jan 2011 05:49:19 +0000 (05:49 +0000)
committersolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Tue, 11 Jan 2011 05:49:19 +0000 (05:49 +0000)
git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@511 546481bc-9713-0410-bf18-d3337bbf4a3e

functions/_PDCLIB/scan.c

index 15b1d503c32a5fa9481c48f65d625a08922508bb..6910aef66f3b60586f16a164d395128a8615960e 100644 (file)
@@ -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 );