
17 May
2010
17 May
'10
5:57 p.m.
On 05/17/2010 11:53 AM, Jim Meyering wrote:
Very good idea. Here's a patch to do that. With this, "make sc_avoid_if_before_free" (part of make syntax-check) will now prevent any new useless checks. The above was the sole offender.
Actually, this is just the tip of the iceberg. A couple minutes work have shown that there are many more:
Running this shows there are potentially at least 100 candidate functions:
aid free|grep '^vi'
aid? Cool alias/shell script on just your machine? -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org