1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-23 16:18:52 -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: 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));