texinfo-commits
[Top][All Lists]
Advanced

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

[7665] remove redundant assignment


From: gavinsmith0123
Subject: [7665] remove redundant assignment
Date: Fri, 3 Feb 2017 18:47:25 -0500 (EST)

Revision: 7665
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7665
Author:   gavin
Date:     2017-02-03 18:47:25 -0500 (Fri, 03 Feb 2017)
Log Message:
-----------
remove redundant assignment

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/infodoc.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-02-03 23:31:30 UTC (rev 7664)
+++ trunk/ChangeLog     2017-02-03 23:47:25 UTC (rev 7665)
@@ -1,9 +1,15 @@
 2017-02-03  Gavin Smith  <address@hidden>
 
+       * info/infodoc.c (replace_in_documentation): Remove redundant 
+       assignment.  (Report from Hans-Bernhard Br\xF6ker.)
+
+2017-02-03  Gavin Smith  <address@hidden>
+
        * info/m-x.c (info_execute_command): Remove code printing an 
        error message that would use a freed pointer.  (It is not 
        actually executed because info_read_completing_in_echo_area will 
        not return anything outside the list of permissible completions.)
+       (Report from Hans-Bernhard Br\xF6ker.)
 
 2017-02-03  Gavin Smith  <address@hidden>
 

Modified: trunk/info/infodoc.c
===================================================================
--- trunk/info/infodoc.c        2017-02-03 23:31:30 UTC (rev 7664)
+++ trunk/info/infodoc.c        2017-02-03 23:47:25 UTC (rev 7665)
@@ -661,7 +661,7 @@
   free (result);
   result = xmalloc (1 + reslen);
 
-  i = next = start = 0;
+  next = start = 0;
 
   /* Skip to the beginning of a replaceable function. */
   for (i = start; string[i]; i++)




reply via email to

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