diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-22 16:17:14 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:11 +0200 |
commit | 48db4c2181d4918b0e2727d0bbe864b9e8019d85 (patch) | |
tree | 04e465349a780a410273aa4ad371b26ce5506c7e /common/region.c | |
parent | f88dc6eecb56222688275893e2a891d8ec23d1d6 (diff) | |
download | spice-48db4c2181d4918b0e2727d0bbe864b9e8019d85.tar.gz spice-48db4c2181d4918b0e2727d0bbe864b9e8019d85.tar.xz spice-48db4c2181d4918b0e2727d0bbe864b9e8019d85.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 'common/region.c')
-rw-r--r-- | common/region.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/common/region.c b/common/region.c index 0e1613c0..10a6e62e 100644 --- a/common/region.c +++ b/common/region.c @@ -28,11 +28,6 @@ #include "rect.h" #include "mem.h" -#define ASSERT(x) if (!(x)) { \ - printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \ - abort(); \ -} - /* true iff two Boxes overlap */ #define EXTENTCHECK(r1, r2) \ (!( ((r1)->x2 <= (r2)->x1) || \ |