changeset 2232:c06488852cdc

hlog_read_history(): Remove a compilation warning
author Mikael Berthe <mikael@lilotux.net>
date Sun, 15 Nov 2015 17:05:07 +0100
parents 387cea2a1a81
children 90c25a29fb35
files mcabber/mcabber/histolog.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/histolog.c	Sun Nov 15 17:03:41 2015 +0100
+++ b/mcabber/mcabber/histolog.c	Sun Nov 15 17:05:07 2015 +0100
@@ -231,6 +231,8 @@
       break;
     ln++;
 
+    tail = data;
+
     while (!feof(fp)) {
       for (tail = data; *tail; tail++) ;
       if (tail == data) {