[Libvir] 1/8 remove useless "if (foo)" tests

Daniel P. Berrange berrange at redhat.com
Tue Jan 29 14:53:31 UTC 2008


On Fri, Jan 25, 2008 at 11:17:09PM +0100, Jim Meyering wrote:
> Given code like if (foo) free (foo); remove the useless "if (foo) " part.
> 
> Likewise, given if (foo != NULL) free (foo); remove the useless "if" test.

ACK - already reviewed the previous version of it.

Dan
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list