From c7c37b5d702b7f93b03133420460970a8fa8724f Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 20 Jul 2011 21:40:18 +0200 Subject: [PATCH] darwin-user: Remove two unused variables 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 Signed-off-by: Blue Swirl --- darwin-user/signal.c | 1 - 1 file changed, 1 deletion(-) 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 *ka, void *set, CPUState *env) { void *frame; - int i, err = 0; fprintf(stderr, "setup_frame %d\n", sig); frame = get_sigframe(ka, env, sizeof(*frame)); -- 2.7.4