From: Osier Yang Date: Tue, 21 May 2013 10:01:00 +0000 (+0800) Subject: nwfilter: Change the comment style X-Git-Tag: v1.0.6-rc1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f49c0e138ebbb683fd9215f6e16d38d9ca4cd4d;p=thirdparty%2Flibvirt.git nwfilter: Change the comment style The more common habit is to add the comment after the statements. --- diff --git a/src/nwfilter/nwfilter_dhcpsnoop.c b/src/nwfilter/nwfilter_dhcpsnoop.c index b9921e5aeb..451c783671 100644 --- a/src/nwfilter/nwfilter_dhcpsnoop.c +++ b/src/nwfilter/nwfilter_dhcpsnoop.c @@ -369,7 +369,7 @@ virNWFilterSnoopListAdd(virNWFilterSnoopIPLeasePtr plnew, for (pl = *end; pl && plnew->timeout < pl->timeout; pl = pl->prev) - /* empty */ ; + ; /* empty */ if (!pl) { plnew->next = *start; @@ -526,7 +526,7 @@ virNWFilterSnoopIPLeaseGetByIP(virNWFilterSnoopIPLeasePtr start, for (pl = start; pl && !virSocketAddrEqual(&pl->ipAddress, ipaddr); pl = pl->next) - /* empty */ ; + ; /* empty */ return pl; }