diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-03-05 06:30:44 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-03-05 06:30:44 +0200 |
commit | bed0aeffb78aa0d7eef182885efaee24c08a88ba (patch) | |
tree | 1202a4c719c6d47bf4e3e54fe3f1114f6982bc7c | |
parent | a76a789747458e3690e44ee81332099a3f80c156 (diff) | |
download | egawk-bed0aeffb78aa0d7eef182885efaee24c08a88ba.tar.gz egawk-bed0aeffb78aa0d7eef182885efaee24c08a88ba.tar.bz2 egawk-bed0aeffb78aa0d7eef182885efaee24c08a88ba.zip |
Minor fix in debug.c.
-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 { |