[PATCH 05/24] wmifs: Fix "suggest braces around empty body in an ‘if’ statement" compiler warning.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 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;
 }
 
-- 
2.1.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.