[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4387-g1c51faed
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4387-g1c51faed |
Date: |
Wed, 6 Apr 2022 01:12:58 -0400 (EDT) |
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, gawk-5.1-stable has been updated
via 1c51faed4fd14db4a39729640bdf3a381d680f9e (commit)
from 12bff814007d0cde8d0b08eaaf0bcfd385c668ac (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=1c51faed4fd14db4a39729640bdf3a381d680f9e
commit 1c51faed4fd14db4a39729640bdf3a381d680f9e
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Wed Apr 6 08:12:32 2022 +0300
Small fix to remove a compiler warning.
diff --git a/extension/ChangeLog b/extension/ChangeLog
index 927d6b15..be8a31be 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,8 @@
+2022-04-05 Arnold D. Robbins <arnold@skeeve.com>
+
+ * testext.c (test_array_param): Init new_array to avoid
+ compiler warnings. Thanks to Michal Jaegermann for the report.
+
2022-04-01 Arnold D. Robbins <arnold@skeeve.com>
Small fix from the persistent-gawk guys.
diff --git a/extension/testext.c b/extension/testext.c
index a5bef7ae..8bca58c5 100644
--- a/extension/testext.c
+++ b/extension/testext.c
@@ -630,7 +630,7 @@ BEGIN {
static awk_value_t *
test_array_param(int nargs, awk_value_t *result, struct awk_ext_func *unused)
{
- awk_value_t new_array;
+ awk_value_t new_array = { 0 }; // init to zero, silences warnings
awk_value_t arg0;
(void) nargs; /* silence warnings */
-----------------------------------------------------------------------
Summary of changes:
extension/ChangeLog | 5 +++++
extension/testext.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4387-g1c51faed,
Arnold Robbins <=