[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/api.c: Initialize a var
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/api.c: Initialize a variable that we check is non-null. |
Date: |
Sat, 01 Oct 2022 14:56:40 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 46e0ac81af * tp/Texinfo/XS/parsetexi/api.c: Initialize a variable that
we check is non-null.
46e0ac81af is described below
commit 46e0ac81af1a52abec703984d5ef6a6af688e1b1
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Oct 1 19:56:09 2022 +0100
* tp/Texinfo/XS/parsetexi/api.c: Initialize a variable that
we check is non-null.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/parsetexi/parser.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 25937fbe82..4e59708a85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-01 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/parsetexi/api.c: Initialize a variable that
+ we check is non-null.
+
2022-10-01 Patrice Dumas <pertusus@free.fr>
* util/txixml2texi.pl: handle variadic commands. Disambiguate markup
diff --git a/tp/Texinfo/XS/parsetexi/parser.c b/tp/Texinfo/XS/parsetexi/parser.c
index c428376e77..aeeed68a0e 100644
--- a/tp/Texinfo/XS/parsetexi/parser.c
+++ b/tp/Texinfo/XS/parsetexi/parser.c
@@ -1084,7 +1084,7 @@ process_remaining_on_line (ELEMENT **current_inout, char
**line_inout)
enum command_id cmd = CM_NONE;
/* remains set only if command is unknown, otherwise cmd is used */
- char *command;
+ char *command = 0;
/********* BLOCK_raw ******************/
if (command_flags(current) & CF_block
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/api.c: Initialize a variable that we check is non-null.,
Gavin D. Smith <=