From fc9d948d7e6ff916b3ddb3ed371a6f8aa7f2c624 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 28 Aug 2010 21:54:17 +0200 Subject: [PATCH] tac: suppress technically unneeded "free" * src/tac.c (main): Guard final free with #ifdef lint. Suggested by Paul Eggert. --- src/tac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tac.c b/src/tac.c index 859e006..dbfe2b0 100644 --- 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); } -- 2.7.4