Remove trailing ; after G_DEFINE_AUTO macro
PATCH 24/27 Remove trailing ; after G_DEFINE_AUTO macro
From: Marc-André Lureau <[email protected]>
The macro doesn't need it.
Signed-off-by Marc-André Lureau <[email protected]>
--- configure | 2 +- nbd/server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
configure +1 -1
@@ -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
nbd/server.c +1 -1
@@ -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)
Signature · 1 line
2.35.1.273.ge6ebfd0e8cbb
Quoted 9 lines · On 16/3/22 10:54, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The macro doesn't need it.
Signed-off-by Marc-André Lureau <[email protected]>--- configure | 2 +- nbd/server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>