These patches mainly remove some warnings detected by Coverity and clang code analyzer. It's a collection of different patches on the same topic, one initially written by Victor. Frediano Ziglio (4): x11-randr: Avoid passing XEvent as value x11: Avoid passing XEvent as value x11: Constify XEvent argument x11: Change check to make code scanners not giving warning Victor Toso (1): device-info: remove g_list_length() on compare_addresses() src/vdagent/device-info.c | 12 ++++--- src/vdagent/x11-priv.h | 2 +- src/vdagent/x11-randr.c | 8 ++--- src/vdagent/x11.c | 67 +++++++++++++++++++-------------------- 4 files changed, 45 insertions(+), 44 deletions(-) -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel