tac: suppress technically unneeded "free"
authorJim Meyering <meyering@redhat.com>
Sat, 28 Aug 2010 19:54:17 +0000 (21:54 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 1 Sep 2010 15:17:31 +0000 (17:17 +0200)
* src/tac.c (main): Guard final free with #ifdef lint.
Suggested by Paul Eggert.

src/tac.c

index 859e006..dbfe2b0 100644 (file)
--- a/src/tac.c
+++ b/src/tac.c
@@ -666,8 +666,10 @@ main (int argc, char **argv)
       ok = false;
     }
 
+#ifdef lint
   size_t offset = sentinel_length ? sentinel_length : 1;
   free (G_buffer - offset);
+#endif
 
   exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
 }