Add '(void)' to fix perl.c unused-value warning message

This commit is contained in:
RichardHitt 2013-04-23 12:09:05 -07:00
parent 5318c953ed
commit facf0ab9c4

View File

@ -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));