From: Jim Meyering Date: Sat, 28 Aug 2010 19:54:17 +0000 (+0200) Subject: tac: suppress technically unneeded "free" X-Git-Tag: v8.6~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc9d948d7e6ff916b3ddb3ed371a6f8aa7f2c624;p=thirdparty%2Fcoreutils.git tac: suppress technically unneeded "free" * src/tac.c (main): Guard final free with #ifdef lint. Suggested by Paul Eggert. --- diff --git a/src/tac.c b/src/tac.c index 859e0067a4..dbfe2b0f30 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); }