Eo: remove ; after while (0) in Eo.h.

The whole point of having "do {} while (0);" is to force people to add a
; after the call to the macro. Therefore there should be no semicolon.
This commit is contained in:
Tom Hacohen 2013-11-06 14:33:06 +00:00
parent 329c646218
commit 087f945690
1 changed files with 2 additions and 2 deletions

View File

@ -1173,7 +1173,7 @@ enum {
#define eo_weak_ref(wref) \
do { \
if (*wref) eo_do(*wref, eo_wref_add(wref)); \
} while (0);
} while (0)
/**
* @def eo_weak_unref
@ -1191,7 +1191,7 @@ enum {
#define eo_weak_unref(wref) \
do { \
if (*wref) eo_do(*wref, eo_wref_del(wref)); \
} while (0);
} while (0)
/**
* @def eo_wref_del_safe