[PATCH 30/31] nwfitler: Change the comment style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]