useless-if-before-free: avoid false-positive
authorJim Meyering <meyering@redhat.com>
Wed, 20 Apr 2011 13:44:54 +0000 (15:44 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 20 Apr 2011 13:44:54 +0000 (15:44 +0200)
commit67ce653056298965788199437efe1e0f6c06eec5
treeeaeb33194bc4318fc6e7171c7868371e0557a19c
parentfc013226bfab5c68c85325e35f6a5fa1facb371e
useless-if-before-free: avoid false-positive

* build-aux/useless-if-before-free: Adjust regexp for the non-brace
disjunct so that it too requires a terminating ";".  Without that,
this script would identify as useless one statement from gcc that
was not:
  if (aligned_ptr)
    free (((void **) aligned_ptr) [-1]);
ChangeLog
build-aux/useless-if-before-free