Turn the non-valgrind code path into inline functions to avoid compiler warnings
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 21 Feb 2012 14:52:49 +0000 (14:52 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 21 Feb 2012 14:52:49 +0000 (14:52 +0000)
commit13c1292150c4f5d57527d11f5b92f5b955f9906e
tree00ac8cfd3cc33c7b3e8565ac5f2482524fe666f9
parenta6ee0757ecb121514480c69ffa52b665903e4f26
Turn the non-valgrind code path into inline functions to avoid compiler warnings

Recent gcc will warn if you have a statement that's just a macro
expanding to (0), but not if you have an inline stub function that
always returns 0, so let's do the latter.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37286
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
dbus/dbus-valgrind-internal.h