The more common habit is to add the comment after the statements.
---
 src/nwfilter/nwfilter_dhcpsnoop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nwfilter/nwfilter_dhcpsnoop.c 
b/src/nwfilter/nwfilter_dhcpsnoop.c
index b9921e5..451c783 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;
 }
 
-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to