[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7657] display_update_one_window
From: |
gavinsmith0123 |
Subject: |
[7657] display_update_one_window |
Date: |
Thu, 2 Feb 2017 15:42:00 -0500 (EST) |
Revision: 7657
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7657
Author: gavin
Date: 2017-02-02 15:42:00 -0500 (Thu, 02 Feb 2017)
Log Message:
-----------
display_update_one_window
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/display.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2017-01-30 19:26:05 UTC (rev 7656)
+++ trunk/ChangeLog 2017-02-02 20:42:00 UTC (rev 7657)
@@ -1,3 +1,9 @@
+2017-02-02 Gavin Smith <address@hidden>
+
+ * info/display.c (display_update_one_window): Remove a useless
+ check of a null pointer. Report from Hans-Bernhard Br\xF6ker,
+ found using static code analysis with clang.
+
2017-01-30 Gavin Smith <address@hidden>
* info/tag.c (tag_expand): Take a pointer as an argument
Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c 2017-01-30 19:26:05 UTC (rev 7656)
+++ trunk/info/display.c 2017-02-02 20:42:00 UTC (rev 7657)
@@ -713,7 +713,7 @@
/* If this line has text on it, or if we don't know what is on the line,
clear this line. */
- if (entry && entry->textlen || entry->inverse)
+ if (entry->textlen || entry->inverse)
{
entry->textlen = 0;
entry->text[0] = '\0';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7657] display_update_one_window,
gavinsmith0123 <=