Pierre Bourdon 54fc4029dd Use do { ... } while (0) for the *_LOG macros
Without this patch, such code would not compile:

if (cond)
    WARN_LOG(FOO, "msg");
else
    WARN_LOG(FOO, "msg2");
2012-08-20 13:12:49 +02:00
..
Hg:
2010-06-09 01:37:08 +00:00
2010-12-22 06:00:36 +00:00
2010-06-03 20:59:55 +00:00
2012-03-30 20:10:48 -07:00
2009-11-15 22:26:39 +00:00