]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-watch.c
sim: common: fix -Wunused-variable warnings
[thirdparty/binutils-gdb.git] / sim / common / sim-watch.c
index 6f9a53ac3b198cdfdf3c8496a2450d229b5b01bf..3366257d3c1ac28b173fb7a81f6d147649994f8e 100644 (file)
@@ -169,8 +169,6 @@ static SIM_RC
 schedule_watchpoint (SIM_DESC sd,
                     sim_watch_point *point)
 {
-  sim_watchpoints *watch = STATE_WATCHPOINTS (sd);
-
   switch (point->type)
     {
     case pc_watchpoint: