[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/macro.c (parse_macro_co
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/macro.c (parse_macro_command_line): remove variable set but unused. |
Date: |
Fri, 11 Oct 2024 04:33:52 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 926b685845 * tp/Texinfo/XS/parsetexi/macro.c
(parse_macro_command_line): remove variable set but unused.
926b685845 is described below
commit 926b685845f507afddee0d307d94c233a17cfb81
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 11 10:33:43 2024 +0200
* tp/Texinfo/XS/parsetexi/macro.c (parse_macro_command_line): remove
variable set but unused.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/parsetexi/macro.c | 4 ----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0886f110bc..6d9000508a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-11-10 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/parsetexi/macro.c (parse_macro_command_line): remove
+ variable set but unused.
+
2024-11-10 Patrice Dumas <pertusus@free.fr>
* info/display.c (display_update_node_text), info/session.c
diff --git a/tp/Texinfo/XS/parsetexi/macro.c b/tp/Texinfo/XS/parsetexi/macro.c
index c99cac306e..81a6d4e18d 100644
--- a/tp/Texinfo/XS/parsetexi/macro.c
+++ b/tp/Texinfo/XS/parsetexi/macro.c
@@ -133,7 +133,6 @@ parse_macro_command_line (enum command_id cmd, const char
**line_inout,
ELEMENT *macro, *macro_name;
char *name;
const char *args_ptr;
- int index;
/* TODO not sure about using lineraw_command. There is an arg_line info,
which is consistent with lineraw_command, but the *macro are block
@@ -179,7 +178,6 @@ parse_macro_command_line (enum command_id cmd, const char
**line_inout,
}
args_ptr++;
- index = 0;
while (1)
{
/* args_ptr is after a '{' or ','. INDEX holds the number of
@@ -246,8 +244,6 @@ parse_macro_command_line (enum command_id cmd, const char
**line_inout,
if (*q == '}')
break;
-
- index++;
}
check_trailing:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/macro.c (parse_macro_command_line): remove variable set but unused.,
Patrice Dumas <=