summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-02-20 20:26:21 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-02-20 20:26:21 +0200
commit2ce455acf7229b635cf7822063ac8c3f13d1ab80 (patch)
tree80553c0a9dd1a34dd748e6e6c69e6fdbcc3ce938
parentb4aa6a524d929ecf7c458acc456db50d6f11e7f4 (diff)
downloadgawk-2ce455acf7229b635cf7822063ac8c3f13d1ab80.tar.gz
Remove a warning from interpret.h, update NEWS.
-rw-r--r--ChangeLog7
-rw-r--r--NEWS2
-rw-r--r--interpret.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 45bf91fe..9621c3c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/NEWS b/NEWS
index 10e8b1f8..eb7651b0 100644
--- a/NEWS
+++ b/NEWS
@@ -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);