aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl.cpp')
-rw-r--r--src/repl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl.cpp b/src/repl.cpp
index b457e06..4e9c44c 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -166,7 +166,7 @@ eval(CEnv& cenv, Cursor& cursor, istream& is, bool execute)
}
Code defs;
- bool hasMain;
+ bool hasMain = false;
const AST* retT = compile(cenv, parsed, defs, hasMain, "main");
if (cenv.args.find("-F") != cenv.args.end()) {
dump(cenv, defs);