summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-04-23 18:33:49 -0700
committerTingPing <tngpng@gmail.com>2013-04-23 18:33:49 -0700
commitde0b0b9467fd4aff914a38681f8e2a8010e4a198 (patch)
tree11fb20334d9f1c4f9388985e015ce88b3bec48b0
parent5318c953ed446c5844903f6a3de5efad18c6509e (diff)
parentfacf0ab9c49d9908a78a52499501f5da93b8c398 (diff)
Merge pull request #560 from RichardHitt/warning-fix
Add '(void)'  to fix perl.c unused-value warning message
-rw-r--r--plugins/perl/perl.c2
1 files changed, 1 insertions, 1 deletions
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));