From 2c4f913a906a26bfeeeb1b8138b829e47698734a Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 18 Mar 2015 14:29:02 +0100 Subject: [PATCH] Fix crash in ConsoleCommand::Run refs #8791 --- lib/cli/consolecommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/consolecommand.cpp b/lib/cli/consolecommand.cpp index 17765c661..23471c49d 100644 --- a/lib/cli/consolecommand.cpp +++ b/lib/cli/consolecommand.cpp @@ -248,7 +248,7 @@ incomplete: command += line; if (addr.IsEmpty()) { - Expression *expr; + Expression *expr = NULL; try { lines[fileName] = command;