From 2f7402ec4b65a2546373403fa701a29d7482cf3f Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 5 Oct 2014 08:22:20 +0300 Subject: Some more minor cleanups. --- awkgram.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'awkgram.c') diff --git a/awkgram.c b/awkgram.c index 3efbd137..a79f9a30 100644 --- a/awkgram.c +++ b/awkgram.c @@ -4625,6 +4625,11 @@ mk_program() cp = end_block; else cp = list_merge(begin_block, end_block); + /* + * We don't need to clear the comment variables + * since they're not used anymore after this + * function is called. + */ if (comment != NULL) (void) list_append(cp, comment); (void) list_append(cp, ip_atexit); -- cgit v1.2.3