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
1 changed files with 1 additions and 1 deletions

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