Colin Watson wrote:
> Constructions such as:
>
>   if (foo)
>     PED_DEBUG (0, "foo");
>   else
>     PED_DEBUG (0, "not foo");
>
> did not compile reliably, depending on the configuration.  Make this
> work.
>
> * include/parted/debug.h [DEBUG && __GNUC__ && !__JSFTRACE__]
> (PED_DEBUG): Remove trailing semicolon.
> [!DEBUG] (PED_ASSERT): Use do-while rather than while.
> [!DEBUG] (PED_DEBUG): Likewise.
> ---

Good fix/clean-up.  Thank you.
Pushed.

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to