[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH] darwin-user: Remove two unused variables

From: Stefan Weil
Subject: [Qemu-trivial] [PATCH] darwin-user: Remove two unused variables
Date: Wed, 20 Jul 2011 21:40:18 +0200

cppcheck report:

darwin-user/signal.c:322: style: Unused variable: i
darwin-user/signal.c:322: style:
Variable 'err' is assigned a value that is never used

Signed-off-by: Stefan Weil <address@hidden>
 darwin-user/signal.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/darwin-user/signal.c b/darwin-user/signal.c
index e2adca3..c530227 100644
--- a/darwin-user/signal.c
+++ b/darwin-user/signal.c
@@ -319,7 +319,6 @@ static void setup_frame(int sig, struct emulated_sigaction 
                        void *set, CPUState *env)
        void *frame;
-       int i, err = 0;
     fprintf(stderr, "setup_frame %d\n", sig);
        frame = get_sigframe(ka, env, sizeof(*frame));

reply via email to

[Prev in Thread] Current Thread [Next in Thread]