From 1c0baec4591b997153684d859ef9ecc5e62d4289 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 13 Apr 2025 11:45:40 -0700 Subject: [PATCH] test: remove stray semi-colons after functions Clears warnings from clang 19.1.7: test/list.c:95:2: warning: extra ';' outside of a function [-Wextra-semi] 95 | }; | ^ test/list.c:137:2: warning: extra ';' outside of a function [-Wextra-semi] 137 | }; | ^ Fixes: 92788e677 ("test: add some tests for basic list manipulation.") Signed-off-by: Alan Coopersmith Part-of: (cherry picked from commit 3eaa19d74b5862794c8ffbcc747e90a3fecbd1c2) --- test/list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/list.c b/test/list.c index 06a9afc1e..bbf8c3cae 100644 --- a/test/list.c +++ b/test/list.c @@ -94,7 +94,7 @@ test_xorg_list_add(void) c = xorg_list_first_entry(&parent.children, struct child, node); assert(memcmp(c, &child[2], sizeof(struct child)) == 0); -}; +} static void test_xorg_list_append(void) @@ -136,7 +136,7 @@ test_xorg_list_append(void) xorg_list_for_each_entry(c, &parent.children, node) { assert(memcmp(c, &child[i++], sizeof(struct child)) == 0); } -}; +} static void test_xorg_list_del(void)