From: Mikko Rasa Date: Sun, 30 Mar 2014 18:14:06 +0000 (+0300) Subject: Add a missing initializer X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=269b667175f68821a3f2b871a097d4899d7abd78;p=r2c2.git Add a missing initializer --- diff --git a/source/designer/designer.cpp b/source/designer/designer.cpp index 1cad9eb..ac870a4 100644 --- a/source/designer/designer.cpp +++ b/source/designer/designer.cpp @@ -481,7 +481,7 @@ void Designer::button_press(unsigned btn) if(mode==CATALOGUE) { - Object *obj; + Object *obj = 0; if(btn==1) obj = pick_object(pointer);