Skip to contentSkip to conversation

master - gcc: drop bogus ;

PATCH Zdenek Kabelac 1 participant 1 message Aug 28, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b722ce2f1000da1ed321d43ef4858d1dd5d567d8
Commit:        b722ce2f1000da1ed321d43ef4858d1dd5d567d8
Parent:        19e9c88faf10bf2f9a2dd7da695b776163fb7bd4
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Aug 28 21:14:06 2020 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Aug 28 21:43:03 2020 +0200

gcc: drop bogus ;

---
 lib/metadata/metadata.c |  2 +-
 lib/report/report.c     | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)
lib/metadata/metadata.c +1 -1
index 4777d7923..bf3669b10 100644
@@ -1945,7 +1945,7 @@ static int _lv_postorder_level(struct logical_volume *lv, void *data)
 {
 	struct _lv_postorder_baton *baton = data;
 	return (data) ? _lv_postorder_visit(lv, baton->fn, baton->data) : 0;
-};
+}
 
 static int _lv_postorder_visit(struct logical_volume *lv,
 			       int (*fn)(struct logical_volume *lv, void *data),
lib/report/report.c +7 -7
index 979cbee52..b0d514202 100644
@@ -348,39 +348,39 @@ struct time_info {
 static int _is_time_num(time_id_t id)
 {
 	return ((id > TIME_NUM__START) && (id < TIME_NUM__END));
-};
+}
 
 /*
 static int _is_time_frame(time_id_t id)
 {
 	return ((id > TIME_FRAME__START) && (id < TIME_FRAME__END));
-};
+}
 */
 
 static int _is_time_label_date(time_id_t id)
 {
 	return ((id > TIME_LABEL_DATE__START) && (id < TIME_LABEL_DATE__END));
-};
+}
 
 static int _is_time_label_time(time_id_t id)
 {
 	return ((id > TIME_LABEL_TIME__START) && (id < TIME_LABEL_TIME__END));
-};
+}
 
 static int _is_time_unit(time_id_t id)
 {
 	return ((id > TIME_UNIT__START) && (id < TIME_UNIT__END));
-};
+}
 
 static int _is_time_weekday(time_id_t id)
 {
 	return ((id > TIME_WEEKDAY__START) && (id < TIME_WEEKDAY__END));
-};
+}
 
 static int _is_time_month(time_id_t id)
 {
 	return ((id > TIME_MONTH__START) && (id < TIME_MONTH__END));
-};
+}
 
 static const char *_skip_space(const char *s)
 {