mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
Silence unused value warnings in perl binding code
sed -i 's/hv_store/(void) &/' This only results in a warning in older gcc versions, but that includes the one used in the Travis CI environment by default
This commit is contained in:
parent
dd58bd5f7b
commit
8e8bc5fdbc
6 changed files with 247 additions and 247 deletions
|
|
@ -63,7 +63,7 @@ static void add_tuple(gpointer key_, gpointer value_, gpointer user_data)
|
|||
HV *hash = user_data;
|
||||
char *key = key_;
|
||||
char *value = value_;
|
||||
hv_store(hash, key, strlen(key), new_pv(value), 0);
|
||||
(void) hv_store(hash, key, strlen(key), new_pv(value), 0);
|
||||
}
|
||||
|
||||
static void wrap_signal_emit(void *signal, void **p) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue