Remove trailing ; after G_DEFINE_AUTO macro
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 11 Mar 2022 22:22:02 +0000 (02:22 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 22 Mar 2022 10:46:18 +0000 (14:46 +0400)
The macro doesn't need it.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
configure
nbd/server.c

index 9e9b85147a5f09a502d2f6baf7d8c1eb2519b865..6d9cb23ac56278f2b15f6a701248d1566825f35d 100755 (executable)
--- a/configure
+++ b/configure
@@ -2248,7 +2248,7 @@ static void foo_free(Foo *f)
 {
     g_free(f);
 }
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(Foo, foo_free);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(Foo, foo_free)
 int main(void) { return 0; }
 EOF
 if ! compile_prog "$glib_cflags -Werror" "$glib_libs" ; then
index 735381aacfcbfb040c2f744196d03f8da64f8964..c5644fd3f6ad26223bf57d887b6be27bb3d17548 100644 (file)
@@ -2064,7 +2064,7 @@ static void nbd_extent_array_free(NBDExtentArray *ea)
     g_free(ea->extents);
     g_free(ea);
 }
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(NBDExtentArray, nbd_extent_array_free);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(NBDExtentArray, nbd_extent_array_free)
 
 /* Further modifications of the array after conversion are abandoned */
 static void nbd_extent_array_convert_to_be(NBDExtentArray *ea)