aboutsummaryrefslogtreecommitdiff
path: root/replay/replay-debugging.c
diff options
context:
space:
mode:
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>2020-11-05 09:10:14 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-11-09 04:09:49 -0500
commitdc24926baf9d577bb00b385f12ade9cad6bb4cba (patch)
tree0370241342082fdd840cf5b1e9ec5b8d460220b9 /replay/replay-debugging.c
parent1023e0033db712b0742de226f133a494f7c474c8 (diff)
downloadqemu-dc24926baf9d577bb00b385f12ade9cad6bb4cba.zip
qemu-dc24926baf9d577bb00b385f12ade9cad6bb4cba.tar.gz
qemu-dc24926baf9d577bb00b385f12ade9cad6bb4cba.tar.bz2
replay: remove some dead code
This patch removes dead code in replay_continue_stop() function. Signed-off-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <160455661411.3455.4177953912304752892.stgit@pasha-ThinkPad-X280> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'replay/replay-debugging.c')
-rw-r--r--replay/replay-debugging.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/replay/replay-debugging.c b/replay/replay-debugging.c
index ee9e86d..1d6a968 100644
--- a/replay/replay-debugging.c
+++ b/replay/replay-debugging.c
@@ -278,7 +278,6 @@ static void replay_continue_stop(void *opaque)
replay_continue_end();
}
replay_last_snapshot = replay_get_current_icount();
- return;
} else {
/* Seek to the very first step */
replay_seek(0, replay_stop_vm_debug, &err);
@@ -286,9 +285,7 @@ static void replay_continue_stop(void *opaque)
error_free(err);
replay_continue_end();
}
- return;
}
- replay_continue_end();
}
bool replay_reverse_continue(void)