summaryrefslogtreecommitdiff
path: root/plugins/dwarf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dwarf')
-rw-r--r--plugins/dwarf/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dwarf/format.c b/plugins/dwarf/format.c
index e071f1c..cb042b7 100644
--- a/plugins/dwarf/format.c
+++ b/plugins/dwarf/format.c
@@ -85,7 +85,7 @@ GDbgFormat *check_dwarf_format(GExeFormat *format)
matched = true;
for (i = 0; i < ARRAY_SIZE(section_names) && matched; i++)
- matched = g_exe_format_get_section_range_by_name(format, section_names[i], (mrange_t []) { 0 });
+ matched = g_exe_format_get_section_range_by_name(format, section_names[i], UNUSED_MRANGE_PTR);
if (matched)
result = g_dwarf_format_new(format);