[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1775-g9205d5
From: |
Andrew J. Schorr |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1775-g9205d5d |
Date: |
Mon, 9 May 2016 18:15:14 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, master has been updated
via 9205d5d6fd20ad78918b44100063ade0b1374ede (commit)
from 3b6702277b62ac9cddc410c87b6406e0936c10aa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=9205d5d6fd20ad78918b44100063ade0b1374ede
commit 9205d5d6fd20ad78918b44100063ade0b1374ede
Author: Andrew J. Schorr <address@hidden>
Date: Mon May 9 14:15:04 2016 -0400
Remove some dead code in interpret.h
diff --git a/ChangeLog b/ChangeLog
index e559d92..ff73db9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-09 Andrew J. Schorr <address@hidden>
+
+ * interpret.h (r_interpret): Op_ext_builtin. No need to test whether
+ op == Op_ext_builtin, since we wouldn't be here otherwise.
+
2016-05-03 Andrew J. Schorr <address@hidden>
* builtin.c (format_tree): Do not waste a byte at the end of a string.
diff --git a/interpret.h b/interpret.h
index f165ef7..3bb4532 100644
--- a/interpret.h
+++ b/interpret.h
@@ -953,10 +953,7 @@ arrayfor:
awk_value_t result;
PUSH_CODE(pc);
- if (op == Op_ext_builtin)
- r = awk_value_to_node(pc->extfunc(arg_count, &
result));
- else
- r = pc->builtin(arg_count);
+ r = awk_value_to_node(pc->extfunc(arg_count, & result));
(void) POP_CODE();
while (arg_count-- > 0) {
t1 = POP();
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
interpret.h | 5 +----
2 files changed, 6 insertions(+), 4 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1775-g9205d5d,
Andrew J. Schorr <=