diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | builtin.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,9 @@ * mpfr.c (mpg_format_val): Set STRCUR flag when we're done. Fixes a memory leak. Thanks to valgrind for the report. + * builtin.c (do_dcgettext): Move declaration of reslen to + outside the ifdefs. Thanks to Hermann Peifer for the report. + 2017-04-12 Manuel Collado <m-collado@users.sourceforge.net> Fix the FPAT bug reported by Ed Morton in the gawk-bug mailing list. @@ -3789,11 +3789,11 @@ do_dcgettext(int nargs) NODE *tmp, *t1, *t2 = NULL; char *string; char *the_result; + size_t reslen; #if ENABLE_NLS && defined(LC_MESSAGES) && HAVE_DCGETTEXT int lc_cat; char *domain; char save1, save2; - size_t reslen; if (nargs == 3) { /* third argument */ tmp = POP_STRING(); |