# HG changeset patch # User Mikael Berthe # Date 1447603507 -3600 # Node ID c06488852cdcf091d7484a53d5d1bdcdb26a115f # Parent 387cea2a1a8119c5e3031cc3469f67be6fb1632a hlog_read_history(): Remove a compilation warning diff -r 387cea2a1a81 -r c06488852cdc 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) {