about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/init.c b/Src/init.c
index b0378ccfa..b3224f65a 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -1131,6 +1131,7 @@ source(char *s)
     fstack.tp = FS_SOURCE;
     funcstack = &fstack;
 
+    lastval = 0;		/* status of empty file is zero */
     if (prog) {
 	pushheap();
 	errflag = 0;