From 8ed21fcdad4c3b723f2840bfbeb82dff35bc0b29 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 25 Aug 2016 06:44:41 +0200 Subject: [PATCH] Fix compiler warning in dbg_eval refs #12534 --- 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 786cf641f..ed7b37e25 100644 --- a/lib/cli/consolecommand.cpp +++ b/lib/cli/consolecommand.cpp @@ -68,7 +68,7 @@ extern "C" void dbg_inspect_object(Object *obj) extern "C" void dbg_eval(const char *text) { - Expression *expr; + Expression *expr = NULL; try { ScriptFrame frame;