mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 11:33:03 +00:00
server/red_worker: remove redundant spice_warn_if in validate_surface
Acked-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
af76aa6745
commit
30eece3e16
@ -1308,7 +1308,6 @@ static inline int validate_surface(RedWorker *worker, uint32_t surface_id)
|
||||
spice_warning("canvas address is %p for %d (and is NULL)\n",
|
||||
&(worker->surfaces[surface_id].context.canvas), surface_id);
|
||||
spice_warning("failed on %d", surface_id);
|
||||
spice_warn_if(!worker->surfaces[surface_id].context.canvas);
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user