mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-11 03:45:08 -05:00
Merge pull request #560 from RichardHitt/warning-fix
Add '(void)' to fix perl.c unused-value warning message
This commit is contained in:
commit
de0b0b9467
@ -296,7 +296,7 @@ list_item_to_sv ( hexchat_list *list, const char *const *fields )
|
|||||||
default:
|
default:
|
||||||
field_value = &PL_sv_undef;
|
field_value = &PL_sv_undef;
|
||||||
}
|
}
|
||||||
hv_store (hash, field_name, name_len, field_value, 0);
|
(void)hv_store (hash, field_name, name_len, field_value, 0);
|
||||||
field_index++;
|
field_index++;
|
||||||
}
|
}
|
||||||
return sv_2mortal (newRV_noinc ((SV *) hash));
|
return sv_2mortal (newRV_noinc ((SV *) hash));
|
||||||
|
Loading…
Reference in New Issue
Block a user