summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-20 13:53:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-20 21:40:06 +0100
commit74c43be20898dcf1e29aa1d6ea8ce1dce031f22f (patch)
treea05787e9fd2c5c129c1b05fb6c0c913037e16b9c
parent5a7551cbbdf2d5f2df2fb60bdb85a0af9eaddcca (diff)
ddb/db_break.c: quiet GCC warning about uninitialized variable
* ddb/db_break.c (bkpt): Initialize.
-rw-r--r--ddb/db_break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_break.c b/ddb/db_break.c
index a566d02..b26e1f0 100644
--- a/ddb/db_break.c
+++ b/ddb/db_break.c
@@ -626,7 +626,7 @@ db_delete_cmd()
}
if (t == tHASH) {
db_thread_breakpoint_t tbp;
- db_breakpoint_t bkpt;
+ db_breakpoint_t bkpt = bkpt;
if (db_read_token() != tNUMBER) {
db_printf("Bad break point number #%s\n", db_tok_string);