[pve-devel] [PATCH cluster 1/4] Wpedantic: remove extra semicolons after function bodies

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Sep 7 13:50:44 CEST 2018


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 data/src/dcdb.c   | 2 +-
 data/src/logger.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/src/dcdb.c b/data/src/dcdb.c
index 12abf1d..6585a34 100644
--- a/data/src/dcdb.c
+++ b/data/src/dcdb.c
@@ -927,7 +927,7 @@ leave:
 	res = -1;
 	goto ret;
 
-};
+}
 
 static dfsm_callbacks_t dcdb_dfsm_callbacks = {
 	.dfsm_deliver_fn = dcdb_deliver,
diff --git a/data/src/logger.c b/data/src/logger.c
index c3d682b..2166617 100644
--- a/data/src/logger.c
+++ b/data/src/logger.c
@@ -220,7 +220,7 @@ clog_copy(
 	clog_entry_t *new;
 	if ((new = clog_alloc_entry(clog, size)))
 		memcpy((char *)new + 8, (char *)entry + 8, size - 8);
-};
+}
 
 uint32_t
 clog_pack(
@@ -613,7 +613,7 @@ clusterlog_insert(
 	}
 
 	g_mutex_unlock(&cl->mutex);
-};
+}
 
 void
 clusterlog_add(
-- 
2.18.0





More information about the pve-devel mailing list