Mercurial > pidgin
diff libpurple/dbus-maybe.h @ 24034:1568dc7a14f8
Warnings cleanup from Lee Roach. Fixes #6242.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 31 Aug 2008 18:49:23 +0000 |
parents | 410f1bf7f734 |
children |
line wrap: on
line diff
--- a/libpurple/dbus-maybe.h Sun Aug 31 17:54:21 2008 +0000 +++ b/libpurple/dbus-maybe.h Sun Aug 31 18:49:23 2008 +0000 @@ -23,7 +23,10 @@ #else /* !HAVE_DBUS */ -#define PURPLE_DBUS_REGISTER_POINTER(ptr, type) +#define PURPLE_DBUS_REGISTER_POINTER(ptr, type) { \ + if (ptr) {} \ +} + #define PURPLE_DBUS_UNREGISTER_POINTER(ptr) #define DBUS_EXPORT