[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 20/21] Remove trailing ; after G_DEFINE_AUTO macro
From: |
marcandre . lureau |
Subject: |
[PULL 20/21] Remove trailing ; after G_DEFINE_AUTO macro |
Date: |
Tue, 22 Mar 2022 16:26:00 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
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 | 2 +-
nbd/server.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 9e9b85147a5f..6d9cb23ac562 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 735381aacfcb..c5644fd3f6ad 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)
--
2.35.1.273.ge6ebfd0e8cbb
- [PULL 08/21] Simplify HOST_LONG_BITS, (continued)
- [PULL 08/21] Simplify HOST_LONG_BITS, marcandre . lureau, 2022/03/22
- [PULL 11/21] util: remove needless includes, marcandre . lureau, 2022/03/22
- [PULL 12/21] util: remove the net/net.h dependency, marcandre . lureau, 2022/03/22
- [PULL 13/21] qapi: remove needless include, marcandre . lureau, 2022/03/22
- [PULL 14/21] meson: move int128 checks from configure, marcandre . lureau, 2022/03/22
- [PULL 15/21] meson: fix CONFIG_ATOMIC128 check, marcandre . lureau, 2022/03/22
- [PULL 16/21] qapi: remove needless include, marcandre . lureau, 2022/03/22
- [PULL 17/21] qga: remove bswap.h include, marcandre . lureau, 2022/03/22
- [PULL 18/21] error: use GLib to remember the program name, marcandre . lureau, 2022/03/22
- [PULL 19/21] tests: remove needless include, marcandre . lureau, 2022/03/22
- [PULL 20/21] Remove trailing ; after G_DEFINE_AUTO macro,
marcandre . lureau <=
- [PULL 21/21] qapi: remove needless include, marcandre . lureau, 2022/03/22
- Re: [PULL 00/21] Fixes patches, Peter Maydell, 2022/03/22