]> xenbits.xensource.com Git - libvirt.git/commitdiff
maint: drop spurious semicolons
authorEric Blake <eblake@redhat.com>
Mon, 15 Oct 2012 15:08:19 +0000 (09:08 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 15 Oct 2012 15:08:19 +0000 (09:08 -0600)
Detected with:
git grep ';;$' -- '**/*.[ch]'

* src/network/bridge_driver.c (networkRadvdConfContents): Fix
harmless typo.
* src/phyp/phyp_driver.c (phypUUIDTable_Pull): Likewise.
* src/qemu/qemu_monitor_json.c (qemuMonitorJSONDriveDel):
Likewise.

src/network/bridge_driver.c
src/phyp/phyp_driver.c
src/qemu/qemu_monitor_json.c

index 0c4b0b009282819deb9443e47e0b59aac9f47f8d..5578373746c4c556d80e20d28c712b4e637be0b2 100644 (file)
@@ -981,7 +981,7 @@ networkRestartDhcpDaemon(virNetworkObjPtr network)
 static int
 networkRadvdConfContents(virNetworkObjPtr network, char **configstr)
 {
-    virBuffer configbuf = VIR_BUFFER_INITIALIZER;;
+    virBuffer configbuf = VIR_BUFFER_INITIALIZER;
     int ret = -1, ii;
     virNetworkIpDefPtr ipdef;
     bool v6present = false;
index a1724caa9a67830ca300ff72b0137fe3ede17a54..a3885a74104692108c0d550b3a2f554acc50fe5d 100644 (file)
@@ -736,7 +736,7 @@ phypUUIDTable_Pull(virConnectPtr conn)
         if (!channel) {
             if (libssh2_session_last_errno(session) !=
                 LIBSSH2_ERROR_EAGAIN) {
-                goto err;;
+                goto err;
             } else {
                 waitsocket(sock, session);
             }
index c35948e20c34bdf4d5ac03ce30f46c0959c4babe..2daf8ea197c9028f9abae5f4b8df71d2e6ba8715 100644 (file)
@@ -3068,7 +3068,7 @@ int qemuMonitorJSONDriveDel(qemuMonitorPtr mon,
                           _("deleting disk is not supported.  "
                             "This may leak data if disk is reassigned"));
                 ret = 1;
-                virResetLastError();;
+                virResetLastError();
             }
         }
     } else if (qemuMonitorJSONHasError(reply, "DeviceNotFound")) {