From: David Levine Date: Sat, 21 May 2016 12:06:36 +0000 (-0400) Subject: Removed unnecessary memset on fmt_mnull: it gets initialized to X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/56c4ac49d7b8ad674c0a66e9999186bcb98bd048?hp=35fce21b692a6259138fc81caf13f4d07bb58da0 Removed unnecessary memset on fmt_mnull: it gets initialized to all 0's. --- diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index 50722a7c..fbb12742 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -399,8 +399,6 @@ fmt_compile(char *fstring, struct format **fmt, int reset_comptable) comptable_initialized = 1; } - memset((char *) &fmt_mnull, 0, sizeof(fmt_mnull)); - /* it takes at least 4 char to generate one format so we * allocate a worst-case format array using 1/4 the length * of the format string. We actually need twice this much