summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-12 18:27:06 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-15 20:14:36 +0100
commit159b9cdd18a8689493b5f031451ea301afd8a8ea (patch)
treebe734e6405d05f8c8d8ceadbc33a5b25e4020fd8
parent62c46407612daa716a6e0e7fd79a33a87a408578 (diff)
ddb/db_break.c (db_delete_cmd): remove unnecessary initialization
Now that we have returns there are no more warnings from GCC about uninitialized variable. Remove unnecessary initialization of variable bkpt. * ddb/db_break.c (db_delete_cmd) (bkpt): Remove unnecessary initialization.
-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 854d054..d8273ea 100644
--- a/ddb/db_break.c
+++ b/ddb/db_break.c
@@ -627,7 +627,7 @@ db_delete_cmd(void)
}
if (t == tHASH) {
db_thread_breakpoint_t tbp;
- db_breakpoint_t bkpt = bkpt;
+ db_breakpoint_t bkpt;
if (db_read_token() != tNUMBER) {
db_printf("Bad break point number #%s\n", db_tok_string);