gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-5044-g3d3d4f76


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-5044-g3d3d4f76
Date: Fri, 21 Apr 2023 04:24:28 -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.2-stable has been updated
       via  3d3d4f7651c9425b28df6490b03e6cd1d3946650 (commit)
      from  756d5ca2a235d6500f9072852f24b83636a8cdea (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=3d3d4f7651c9425b28df6490b03e6cd1d3946650

commit 3d3d4f7651c9425b28df6490b03e6cd1d3946650
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Fri Apr 21 11:24:10 2023 +0300

    Small fix in array.c.

diff --git a/ChangeLog b/ChangeLog
index 07d07c8f..ebd16b0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-04-21         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * array.c (asort_actual): Initialize `value' to avoid
+       compiler complaints. Thanks to Michal Jaegermann
+       for the report.
+
 2023-04-14         Arnold D. Robbins     <arnold@skeeve.com>
 
        * array.c (asort_actual): Handle Node_elem_new. Add braces
diff --git a/array.c b/array.c
index 1ffe7517..124824b5 100644
--- a/array.c
+++ b/array.c
@@ -933,7 +933,7 @@ asort_actual(int nargs, sort_context_t ctxt)
                        /* value node */
                        r = *ptr++;
 
-                       NODE *value;
+                       NODE *value = NULL;
 
                        switch (r->type) {
                        case Node_val:

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog | 6 ++++++
 array.c   | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]