From facf0ab9c49d9908a78a52499501f5da93b8c398 Mon Sep 17 00:00:00 2001 From: RichardHitt Date: Tue, 23 Apr 2013 12:09:05 -0700 Subject: [PATCH] Add '(void)' to fix perl.c unused-value warning message --- plugins/perl/perl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c index 3c1ed192..732fd65c 100644 --- a/plugins/perl/perl.c +++ b/plugins/perl/perl.c @@ -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));