[Spice-devel] [PATCH spice-server 9/9] test-vdagent: Remove useless MIN definition

Frediano Ziglio fziglio at redhat.com
Tue Dec 5 08:41:12 UTC 2017


Already defined by GLib headers.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/tests/test-vdagent.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/server/tests/test-vdagent.c b/server/tests/test-vdagent.c
index 01308d0d..c734ddec 100644
--- a/server/tests/test-vdagent.c
+++ b/server/tests/test-vdagent.c
@@ -29,11 +29,6 @@
 #include "test-display-base.h"
 #include "test-glib-compat.h"
 
-#ifndef MIN
-#define MIN(a, b) ((a) > (b) ? (b) : (a))
-#endif
-
-
 static int vmc_write(SPICE_GNUC_UNUSED SpiceCharDeviceInstance *sin,
                      SPICE_GNUC_UNUSED const uint8_t *buf,
                      int len)
-- 
2.14.3



More information about the Spice-devel mailing list