Re: Remove useless "if (foo)" before "free (foo)".

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

 



Jim Meyering <jim@xxxxxxxxxxxx> wrote:
> Likewise, given if (foo != NULL) free (foo); remove the useless "if" test.
> Do the same for sexpr_free, since it has similar semantics.
...
>  25 files changed, 110 insertions(+), 207 deletions(-)

BTW, that's a big patch, and if you're inclined to review it, that'd
be great, because I made the changes manually.  However, I've just
realized I should be able to check most of it by automating the
transformation and then doing a whitespace-ignoring diff.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]