[OSKITTCP]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 31 May 2010 14:04:24 +0000 (14:04 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 31 May 2010 14:04:24 +0000 (14:04 +0000)
Improve the reactos-hack, by changing the ";" after an "if (...)" to "(void)0;" to tell the compiler that we intentionally do nothing in the if body.

svn path=/trunk/; revision=47493

reactos/lib/drivers/oskittcp/oskittcp/rtsock.c

index 5654b7b..b7caadc 100644 (file)
@@ -277,7 +277,7 @@ route_output(m, so)
 #ifndef __REACTOS__
                            ifp = ifa->ifa_ifp;
 #else
-                       ;
+                       (void)0;
 #endif
                        if (ifa) {
                                register struct ifaddr *oifa = rt->rt_ifa;