mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
e31b0a7c05
commit
c7c37b5d70
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue