Fixed uninitialized-var warning in u.cc
authorMartin Read <martin@blackswordsonics.com>
Wed, 19 Feb 2014 02:42:12 +0000 (02:42 +0000)
committerMartin Read <martin@blackswordsonics.com>
Wed, 19 Feb 2014 02:42:12 +0000 (02:42 +0000)
u.cc

diff --git a/u.cc b/u.cc
index 5619f59..7f705df 100644 (file)
--- a/u.cc
+++ b/u.cc
@@ -553,7 +553,7 @@ bool action_rewrite(Action const *act, Action *revised_act)
     Offset o;
     Action tmp_act = *act;
     Combo_phase p;
-    bool rewrite_flag;
+    bool rewrite_flag = false;
     switch (tmp_act.cmd)
     {
     case STAND_STILL: