Fix compilation of (no-op) alignment assertions on non-gcc
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 15 Aug 2011 08:52:04 +0000 (09:52 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 15 Aug 2011 15:31:50 +0000 (17:31 +0200)
commit8c83422b5fde109b2af462d8d383cfadad35a99a
tree30756199a475e0ae3d2da0192160938fe875a8a1
parent9929df06bf09cb93356e01bb7bd8a8ba59b2ba98
Fix compilation of (no-op) alignment assertions on non-gcc

do {} while (0) isn't valid at file scope, so the non-gcc code path
was broken; in particular, this affected MSVC.

Reviewed-by:Ralf Habacker <ralf.habacker@freenet.de>
dbus/dbus-marshal-basic.c