diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-20 13:53:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-20 21:47:05 +0100 |
commit | ac9ec944f00384a61cfeee5ecca571f6b4158496 (patch) | |
tree | 5307034766b52792c38da6e68fb64e55acc75fc8 /ddb | |
parent | 48d8537b52ce4308ba0a7c54e5504d128edb9335 (diff) |
ddb/db_run.c: remove set but unused variable
* ddb/db_run.c (ins): Remove variable.
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_run.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ddb/db_run.c b/ddb/db_run.c index 7aaeb46..e380253 100644 --- a/ddb/db_run.c +++ b/ddb/db_run.c @@ -176,14 +176,13 @@ db_restart_at_pc(watchpt, task) if ((db_run_mode == STEP_COUNT) || (db_run_mode == STEP_RETURN) || (db_run_mode == STEP_CALLT)) { - db_expr_t ins; /* * We are about to execute this instruction, * so count it now. */ - ins = db_get_task_value(pc, sizeof(int), FALSE, task); + db_get_task_value(pc, sizeof(int), FALSE, task); db_inst_count++; db_load_count += inst_load(ins); db_store_count += inst_store(ins); @@ -192,7 +191,7 @@ db_restart_at_pc(watchpt, task) brpc = next_instr_address(pc,1,task); if ((brpc != pc) && (inst_branch(ins) || inst_call(ins))) { /* Note: this ~assumes an instruction <= sizeof(int) */ - ins = db_get_task_value(brpc, sizeof(int), FALSE, task); + db_get_task_value(brpc, sizeof(int), FALSE, task); db_inst_count++; db_load_count += inst_load(ins); db_store_count += inst_store(ins); |