[PATCH weston] cosmetic: Remove a few double semicolons

Derek Foreman derekf at osg.samsung.com
Wed Oct 7 09:51:29 PDT 2015


Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
 clients/image.c            | 2 +-
 desktop-shell/shell.c      | 2 +-
 tests/config-parser-test.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/clients/image.c b/clients/image.c
index 4126305..db9ccd6 100644
--- a/clients/image.c
+++ b/clients/image.c
@@ -359,7 +359,7 @@ image_create(struct display *display, const char *filename,
 	     int *image_counter)
 {
 	struct image *image;
-	char *b, *copy, title[512];;
+	char *b, *copy, title[512];
 
 	image = zalloc(sizeof *image);
 	if (image == NULL)
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 7f00766..a355b48 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -4272,7 +4272,7 @@ xdg_get_xdg_popup(struct wl_client *client,
 	}
 
 	parent = wl_resource_get_user_data(parent_resource);
-	seat = get_shell_seat(wl_resource_get_user_data(seat_resource));;
+	seat = get_shell_seat(wl_resource_get_user_data(seat_resource));
 
 	/* Verify that we are creating the top most popup when mapping,
 	 * as it's not until then we know whether it was mapped as most
diff --git a/tests/config-parser-test.c b/tests/config-parser-test.c
index 1d4e96a..8998345 100644
--- a/tests/config-parser-test.c
+++ b/tests/config-parser-test.c
@@ -270,7 +270,7 @@ ZUC_TEST_F(config_test_t1, test007)
 	int r;
 	int32_t n;
 	struct weston_config_section *section;
-	struct weston_config *config = data;;
+	struct weston_config *config = data;
 
 	section = weston_config_get_section(config, "bar", NULL, NULL);
 	r = weston_config_section_get_int(section, "+++", &n, 700);
-- 
2.5.3



More information about the wayland-devel mailing list