[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * info/nodes.c (find_node_from_tag, info_node_of_
From: |
Patrice Dumas |
Subject: |
branch master updated: * info/nodes.c (find_node_from_tag, info_node_of_tag_ext): remove unused parent argument. |
Date: |
Sat, 12 Oct 2024 14:37:59 -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 e39fa2dc5e * info/nodes.c (find_node_from_tag, info_node_of_tag_ext):
remove unused parent argument.
e39fa2dc5e is described below
commit e39fa2dc5e603a9d96efa918f1b2ca19a4d3ad7b
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 12 20:37:50 2024 +0200
* info/nodes.c (find_node_from_tag, info_node_of_tag_ext): remove
unused parent argument.
---
ChangeLog | 5 +++++
info/nodes.c | 10 ++++------
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 23bb01875f..070ab159c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-12 Patrice Dumas <pertusus@free.fr>
+
+ * info/nodes.c (find_node_from_tag, info_node_of_tag_ext): remove
+ unused parent argument.
+
2024-10-12 Patrice Dumas <pertusus@free.fr>
* info/search.c: add const.
diff --git a/info/nodes.c b/info/nodes.c
index 11fedab65f..299473032f 100644
--- a/info/nodes.c
+++ b/info/nodes.c
@@ -1167,13 +1167,11 @@ adjust_nodestart (FILE_BUFFER *fb, TAG *node)
return 1;
}
-/* Look in the contents of *FB_PTR for a node referred to with TAG. Set
+/* Look in the contents of *FB for a node referred to with TAG. Set
the location if found in TAG->nodestart_adjusted.
-
- PARENT->tags contains the tags table for the whole file. If file is
- non-split, PARENT should be the same as FB. */
+ */
static int
-find_node_from_tag (FILE_BUFFER *parent, FILE_BUFFER *fb, TAG *tag)
+find_node_from_tag (FILE_BUFFER *fb, TAG *tag)
{
int success;
@@ -1278,7 +1276,7 @@ info_node_of_tag_ext (FILE_BUFFER *fb, TAG
**input_tag_ptr, int fast)
around about it and adjust it if necessary. */
if (node_tag->cache.nodelen == 0)
{
- if (!find_node_from_tag (parent, subfile, node_tag))
+ if (!find_node_from_tag (subfile, node_tag))
return NULL; /* Node not found. */
set_tag_nodelen (subfile, node_tag);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * info/nodes.c (find_node_from_tag, info_node_of_tag_ext): remove unused parent argument.,
Patrice Dumas <=