[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6877] info fix warnings
From: |
Gavin D. Smith |
Subject: |
[6877] info fix warnings |
Date: |
Sat, 19 Dec 2015 16:42:48 +0000 |
Revision: 6877
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6877
Author: gavin
Date: 2015-12-19 16:42:47 +0000 (Sat, 19 Dec 2015)
Log Message:
-----------
info fix warnings
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/display.c
trunk/info/info-utils.c
trunk/info/man.c
trunk/info/variables.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-12-19 16:26:33 UTC (rev 6876)
+++ trunk/ChangeLog 2015-12-19 16:42:47 UTC (rev 6877)
@@ -1,9 +1,17 @@
2015-12-19 Gavin Smith <address@hidden>
- * (gnulib): Run gnulib --add-import.
+ * info/variables.c (set_variable_to_value),
+ * info/man.c (get_manpage_node),
+ * info/info-utils.c (scan_reference_marker): Remove unused variables.
+ * info/display.c (display_update_node_text): Move variable
+ declaration to start of block.
2015-12-19 Gavin Smith <address@hidden>
+ * gnulib: Run gnulib --add-import.
+
+2015-12-19 Gavin Smith <address@hidden>
+
* doc/texinfo.tex (\begindoublecolumns): Remove \global
qualifier from an assignment to \vsize.
(\enddoublecolumns): Some comments updated to reflect the fact
Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c 2015-12-19 16:26:33 UTC (rev 6876)
+++ trunk/info/display.c 2015-12-19 16:42:47 UTC (rev 6877)
@@ -540,6 +540,7 @@
mbi_avail (iter);
while (1)
{
+ int delim = 0;
mbi_copy (&bol_iter, &iter);
bol_ref_index = ref_index;
bol_match_index = match_index;
@@ -551,7 +552,6 @@
text_buffer_reset (&tb_printed_line);
- int delim = 0;
/* Check if we have processed all the lines in the window. */
if (pl_num == win->height)
break;
Modified: trunk/info/info-utils.c
===================================================================
--- trunk/info/info-utils.c 2015-12-19 16:26:33 UTC (rev 6876)
+++ trunk/info/info-utils.c 2015-12-19 16:42:47 UTC (rev 6877)
@@ -1218,8 +1218,6 @@
copy_input_to_output (strlen ("\n* "));
else
{
- int previous_word_is_like_see = 0;
-
/* Only match "*Note" if it is followed by a whitespace character so
that
it will not be recognized if, e.g., it is surrounded in inverted
commas. */
Modified: trunk/info/man.c
===================================================================
--- trunk/info/man.c 2015-12-19 16:26:33 UTC (rev 6876)
+++ trunk/info/man.c 2015-12-19 16:42:47 UTC (rev 6877)
@@ -90,7 +90,7 @@
/* Node wasn't found, or its contents were freed since last time. */
if (!node->contents)
{
- int hlen, plen;
+ int plen;
page = get_manpage_contents (pagename);
if (!page)
Modified: trunk/info/variables.c
===================================================================
--- trunk/info/variables.c 2015-12-19 16:26:33 UTC (rev 6876)
+++ trunk/info/variables.c 2015-12-19 16:42:47 UTC (rev 6877)
@@ -354,7 +354,6 @@
if (var->choices)
{
register int j;
- VARIABLE_ALIST our_var;
/* "highlight-searches=On" is equivalent to
"match-rendition=standout". */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6877] info fix warnings,
Gavin D. Smith <=