summaryrefslogtreecommitdiffstats
path: root/glc.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-22 16:17:14 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:11 +0200
commitbb00047691bc0e245e326ee540001ef1da6ed9e0 (patch)
tree1f84c148d96fa192a2db5c39fb5dc4ecc7e65f3c /glc.c
parenta8cfd1566fd1b2aaf39cb15a9efb9e1ef0cb730f (diff)
downloadspice-common-bb00047691bc0e245e326ee540001ef1da6ed9e0.tar.gz
spice-common-bb00047691bc0e245e326ee540001ef1da6ed9e0.tar.xz
spice-common-bb00047691bc0e245e326ee540001ef1da6ed9e0.zip
common,server: use ASSERT from spice_common.h
spice_common.h provides an ASSERT macro, no need to duplicate it in many places. For now client/debug.h keeps its own copy since debug.h and spice_common.h have clashes on other macros which are trickier to unify.
Diffstat (limited to 'glc.c')
-rw-r--r--glc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/glc.c b/glc.c
index d90e383..0396fc9 100644
--- a/glc.c
+++ b/glc.c
@@ -40,8 +40,6 @@
#include "glc.h"
#include "gl_utils.h"
-#define ASSERT(x) if (!(x)) {printf("%s: assert failed %s\n", __FUNCTION__, #x); abort();}
-
#define WARN_ONCE(x) { \
static int warn = TRUE; \
if (warn) { \