summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-21 07:54:47 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-21 07:54:47 +0000
commit04fe65b0c880322a5ab5677fef6303b6149b8676 (patch)
treee6b7468efe5ca179a39da26a21b3da5942aa7ce8 /mg.c
parent166cd87e025da3b73833dbe6f3ac8a9279710d12 (diff)
downloadperl-04fe65b0c880322a5ab5677fef6303b6149b8676.tar.gz
Silence a load of "value computed is not used" warnings
p4raw-id: //depot/perl@31936
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mg.c b/mg.c
index c4fc190185..8b790c0e8f 100644
--- a/mg.c
+++ b/mg.c
@@ -2866,8 +2866,8 @@ Perl_sighandler(int sig)
SV *rv = newRV_noinc((SV*)sih);
/* The siginfo fields signo, code, errno, pid, uid,
* addr, status, and band are defined by POSIX/SUSv3. */
- hv_store(sih, "signo", 5, newSViv(sip->si_signo), 0);
- hv_store(sih, "code", 4, newSViv(sip->si_code), 0);
+ (void)hv_store(sih, "signo", 5, newSViv(sip->si_signo), 0);
+ (void)hv_store(sih, "code", 4, newSViv(sip->si_code), 0);
#if 0 /* XXX TODO: Configure scan for the existence of these, but even that does not help if the SA_SIGINFO is not implemented according to the spec. */
hv_store(sih, "errno", 5, newSViv(sip->si_errno), 0);
hv_store(sih, "status", 6, newSViv(sip->si_status), 0);