summaryrefslogtreecommitdiff
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
commit1622c226bc18494b7afc08a351cb1b678bcce285 (patch)
treec38308ca16749cf82d24079564f56f066ac7d03b
parent9389d41cc5988991ae4d69b0c272d4eba919afff (diff)
downloadqemu-1622c226bc18494b7afc08a351cb1b678bcce285.tar.gz
qemu-1622c226bc18494b7afc08a351cb1b678bcce285.tar.bz2
qemu-1622c226bc18494b7afc08a351cb1b678bcce285.zip
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>
-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 e2adca3918..c530227f1c 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));