mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
Silence unused value warnings in perl binding code
sed -i 's/hv_store/(void) &/' This only results in a warning in older gcc versions, but that includes the one used in the Travis CI environment by default
This commit is contained in:
parent
dd58bd5f7b
commit
8e8bc5fdbc
6 changed files with 247 additions and 247 deletions
|
|
@ -160,5 +160,5 @@ CODE:
|
|||
*str == '\0' ? NULL : str,
|
||||
data, escape_vars);
|
||||
hv = hvref(ST(0));
|
||||
hv_store(hv, "min_size", 8, newSViv(item->min_size), 0);
|
||||
hv_store(hv, "max_size", 8, newSViv(item->max_size), 0);
|
||||
(void) hv_store(hv, "min_size", 8, newSViv(item->min_size), 0);
|
||||
(void) hv_store(hv, "max_size", 8, newSViv(item->max_size), 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue