aboutsummaryrefslogtreecommitdiff
path: root/darwin-user/signal.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-07-20 21:40:18 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-08-07 09:37:49 +0000
commitc7c37b5d702b7f93b03133420460970a8fa8724f (patch)
treec38308ca16749cf82d24079564f56f066ac7d03b /darwin-user/signal.c
parente31b0a7c050711884ad570fe73df806520953618 (diff)
downloadqemu-c7c37b5d702b7f93b03133420460970a8fa8724f.zip
qemu-c7c37b5d702b7f93b03133420460970a8fa8724f.tar.gz
qemu-c7c37b5d702b7f93b03133420460970a8fa8724f.tar.bz2
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 <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'darwin-user/signal.c')
-rw-r--r--darwin-user/signal.c1
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 *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));