mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
gresource-tool: Fix unused-but-set-variable warn with G_DISABLE_ASSERT
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
d286ea0c57
commit
425702df9c
@ -180,7 +180,7 @@ elf_foreach_resource_section (Elf *elf,
|
||||
SectionCallback callback,
|
||||
gpointer data)
|
||||
{
|
||||
int ret;
|
||||
int ret G_GNUC_UNUSED /* when compiling with G_DISABLE_ASSERT */;
|
||||
size_t shstrndx, shnum;
|
||||
size_t scnidx;
|
||||
Elf_Scn *scn;
|
||||
|
Loading…
Reference in New Issue
Block a user