[Freeipa-devel] [PATCH] remove useless if-before-free tests
Simo Sorce
ssorce at redhat.com
Wed May 14 21:42:00 UTC 2008
On Wed, 2008-05-14 at 21:48 +0200, Jim Meyering wrote:
> I've been on a crusade (;-) to remove useless if-before-free tests,
> so ran a script that spotted some here. I think I removed the first
> batch (without braces) automatically, then manually removed the ones
> with curly braces around the free statements.
>
> You may well have doubts about the portability of removing those
> tests, but as long as you don't care about SunOS4 or earlier, you'll
> be fine. I've done similar things for e.g., coreutils, glibc, and
> git,
> and have had no problems.
Ack
--
Simo Sorce * Red Hat, Inc * New York
More information about the Freeipa-devel
mailing list