From 621457313eefb69ef9ad131490bbb5d5a1cef4f7 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Wed, 27 May 2015 17:33:14 -0500 Subject: [PATCH] =?UTF-8?q?wmifs:=20Fix=20"suggest=20braces=20around=20emp?= =?UTF-8?q?ty=20body=20in=20an=20=E2=80=98if=E2=80=99=20statement"=20compi?= =?UTF-8?q?ler=20warning.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wmifs/wmifs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index c1c2ac9..c124cc3 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -961,8 +961,9 @@ void get_ppp_stats(struct ppp_stats *cur) sprintf(req.ifr__name, "ppp%d", PPP_UNIT); - if (ioctl(ppp_h, SIOCGPPPSTATS, &req) < 0) + if (ioctl(ppp_h, SIOCGPPPSTATS, &req) < 0) { /* fprintf(stderr, "heyho!\n") */; + } *cur = req.stats; }