diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | debug.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -9,6 +9,11 @@ * ext.c (make_builtin): Use awk_false, awk_true. * io.c (init_output_wrapper): Use awk_false. + Unrelated: + + * debug.c (do_commands): Initialize num to silence warnings. + Thanks to Michal Jaegermann. + 2014-03-03 Arnold D. Robbins <arnold@skeeve.com> * dfa.c: Sync with grep. Yet again. @@ -4851,7 +4851,7 @@ do_commands(CMDARG *arg, int cmd) struct commands_item *c; if (cmd == D_commands) { - int num, type; + int num = -1, type; if (arg == NULL) type = has_break_or_watch_point(&num, true); else { |