From: Yao Qi Date: Wed, 8 Oct 2014 11:25:59 +0000 (+0800) Subject: Remove unused local variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcbdedf866d777b3598cf8703737eb0f987c2aca;p=binutils-gdb.git Remove unused local variable As a result of commit b57bacec, local variable 'printed' is no longer used. This patch is to remove it. gdb: 2014-10-09 Yao Qi * infrun.c (handle_signal_stop): Remove local variable 'printed'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3796a9968e2..ee82f1f448f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-10-09 Yao Qi + + * infrun.c (handle_signal_stop): Remove local variable + 'printed'. + 2014-10-08 Stan Shebs * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. diff --git a/gdb/infrun.c b/gdb/infrun.c index 7b437858ec8..468117587ba 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -4425,7 +4425,6 @@ handle_signal_stop (struct execution_control_state *ecs) if (random_signal) { /* Signal not for debugging purposes. */ - int printed = 0; struct inferior *inf = find_inferior_pid (ptid_get_pid (ecs->ptid)); enum gdb_signal stop_signal = ecs->event_thread->suspend.stop_signal;