diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | interpret.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -5,7 +5,12 @@ * getopt.c, getopt.h, getopt1.c, getopt_int.h: Ditto. * dfa.c (parse_bracket_exp): Sync with grep, where they restored the buggy code. Sigh. - * + + Unrelated: + + * NEWS: Typo fix. + * interpret.h (r_interpret): Init a variable for BEGINFILE to avoid + compiler warnings. Thanks to Michal Jaegermann. 2014-02-15 Arnold D. Robbins <arnold@skeeve.com> @@ -10,7 +10,7 @@ Changes from 4.1.0 to 4.1.1 1. The "stat" extension now includes a "devbsize" element which indicates the units for the "nblocks" element -2. The extension now facility works on MinGW. Many of the extensions can be +2. The extension facility now works on MinGW. Many of the extensions can be built and used directly. 3. A number of bugs in the pretty-printing / profiling code have been fixed. diff --git a/interpret.h b/interpret.h index ba70cf08..9243c892 100644 --- a/interpret.h +++ b/interpret.h @@ -1217,7 +1217,7 @@ match_re: ret = nextfile(& curfile, true); /* skip current file */ if (currule == BEGINFILE) { - long stack_size; + long stack_size = 0; ni = pop_exec_state(& currule, & source, & stack_size); |