forked from Mirrors/flatpak-builder
builder: Fix unused return value warnings
This just adds a (void) cast to avoid the warnings.tingping/wmclass
parent
af03d2f5b4
commit
9171c94662
|
@ -749,8 +749,8 @@ handle_dwarf2_line (DebuginfoData *data, uint32_t off, char *comp_dir, GHashTabl
|
|||
if (s)
|
||||
g_hash_table_insert (files, s, NULL);
|
||||
|
||||
read_uleb128 (ptr);
|
||||
read_uleb128 (ptr);
|
||||
(void)read_uleb128 (ptr);
|
||||
(void)read_uleb128 (ptr);
|
||||
}
|
||||
++ptr;
|
||||
|
||||
|
@ -865,7 +865,7 @@ handle_attributes (DebuginfoData *data, unsigned char *ptr, struct abbrev_tag *t
|
|||
case DW_FORM_sdata:
|
||||
case DW_FORM_ref_udata:
|
||||
case DW_FORM_udata:
|
||||
read_uleb128 (ptr);
|
||||
(void)read_uleb128 (ptr);
|
||||
break;
|
||||
case DW_FORM_strp:
|
||||
ptr += 4;
|
||||
|
|
Loading…
Reference in New Issue