mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
389834ee65
commit
e0e7fe07e1
|
@ -2248,7 +2248,7 @@ static void foo_free(Foo *f)
|
||||||
{
|
{
|
||||||
g_free(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; }
|
int main(void) { return 0; }
|
||||||
EOF
|
EOF
|
||||||
if ! compile_prog "$glib_cflags -Werror" "$glib_libs" ; then
|
if ! compile_prog "$glib_cflags -Werror" "$glib_libs" ; then
|
||||||
|
|
|
@ -2064,7 +2064,7 @@ static void nbd_extent_array_free(NBDExtentArray *ea)
|
||||||
g_free(ea->extents);
|
g_free(ea->extents);
|
||||||
g_free(ea);
|
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 */
|
/* Further modifications of the array after conversion are abandoned */
|
||||||
static void nbd_extent_array_convert_to_be(NBDExtentArray *ea)
|
static void nbd_extent_array_convert_to_be(NBDExtentArray *ea)
|
||||||
|
|
Loading…
Reference in New Issue