Based on a patch from the Debian package [1]. [1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/fix-compiler-warning.patch/ --- wmifs/wmifs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index ecd00e9..c1c2ac9 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -638,7 +638,7 @@ int get_statistics(char *devname, long *ip, long *op, long *is, long *os) int input, output; int i; int found; - struct ppp_stats ppp_cur, ppp_old; + struct ppp_stats ppp_cur; static int ppp_opened; @@ -650,7 +650,6 @@ int get_statistics(char *devname, long *ip, long *op, long *is, long *os) if (ppp_h < 0) return -1; get_ppp_stats(&ppp_cur); - ppp_old = ppp_cur; ppp_opened = 1; } -- 2.1.4 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.