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.
---
Pushing under the trivial rule.
src/network/bridge_driver.c | 2 +-
src/phyp/phyp_driver.c | 2 +-
src/qemu/qemu_monitor_json.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 0c4b0b0..5578373 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -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;
diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index a1724ca..a3885a7 100644
--- a/src/phyp/phyp_driver.c
+++ b/src/phyp/phyp_driver.c
@@ -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);
}
diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
index c35948e..2daf8ea 100644
--- a/src/qemu/qemu_monitor_json.c
+++ b/src/qemu/qemu_monitor_json.c
@@ -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")) {
--
1.7.11.7