hlog_read_history(): Remove a compilation warning
authorMikael Berthe <mikael@lilotux.net>
Sun, 15 Nov 2015 17:05:07 +0100
changeset 2232 c06488852cdc
parent 2231 387cea2a1a81
child 2233 90c25a29fb35
hlog_read_history(): Remove a compilation warning
mcabber/mcabber/histolog.c
--- 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) {