1
0
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:
TingPing 2013-04-23 18:33:49 -07:00
commit de0b0b9467

View File

@ -296,7 +296,7 @@ list_item_to_sv ( hexchat_list *list, const char *const *fields )
default:
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++;
}
return sv_2mortal (newRV_noinc ((SV *) hash));