qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH 00/26] trivial: use exit(EXIT_SUC


From: Peter Maydell
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH 00/26] trivial: use exit(EXIT_SUCCESS) and exit(EXIT_FAILURE)
Date: Fri, 16 Sep 2016 15:47:37 +0100

On 16 September 2016 at 14:55, Laurent Vivier <address@hidden> wrote:
> This series is the result of coccinelle patch
> scripts/coccinelle/exit.cocci
> provided by the first patch of the series.
>
> It replaces exit(0) by exit(EXIT_SUCCESS)
> and exit(1) by exit(EXIT_FAILURE).
>
> All other exit() are not modified as we don't want
> to change the behavior.
>
> In some cases, I've added manually a line break to comply
> with the maximum line length.

>  182 files changed, 734 insertions(+), 715 deletions(-)

You don't say why this is a useful change to make, and it's an
awful lot of churn for a stylistic issue...

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]