summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-12 02:22:02 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-22 14:46:18 +0400
commite0e7fe07e1ef55432b4f9e59d663199f971d8ed2 (patch)
treeb4d03fdb6829a26e5809b67c5f9879a2cc9eb493
parent389834ee65c57b8404988ac6d556b90160df31f0 (diff)
Remove trailing ; after G_DEFINE_AUTO macro
The macro doesn't need it. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
-rwxr-xr-xconfigure2
-rw-r--r--nbd/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 9e9b85147a..6d9cb23ac5 100755
--- 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
diff --git a/nbd/server.c b/nbd/server.c
index 735381aacf..c5644fd3f6 100644
--- a/nbd/server.c
+++ b/nbd/server.c
@@ -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)