[Spice-devel] [PATCH v2 5/8] replay: Remove useless check
Frediano Ziglio
fziglio at redhat.com
Thu Sep 15 22:19:37 UTC 2016
Same check is done inside replay_fscanf
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/red-replay-qxl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/server/red-replay-qxl.c b/server/red-replay-qxl.c
index 28da13d..ef5569e 100644
--- a/server/red-replay-qxl.c
+++ b/server/red-replay-qxl.c
@@ -1063,9 +1063,6 @@ static QXLCompatDrawable *red_replay_compat_drawable(SpiceReplay *replay, uint32
static QXLPHYSICAL red_replay_drawable(SpiceReplay *replay, uint32_t flags)
{
- if (replay->error) {
- return 0;
- }
replay_fscanf(replay, "drawable\n");
if (flags & QXL_COMMAND_FLAG_COMPAT) {
return QXLPHYSICAL_FROM_PTR(red_replay_compat_drawable(replay, flags));
--
2.7.4
More information about the Spice-devel
mailing list