summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-07-12 18:29:43 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-07-12 18:29:43 +0000
commit282e17420839364a06808f9f85ab641c510d8296 (patch)
tree6880d8f34d9a165f8a779a5807c465ff498ebcab /pad.c
parent56d23705b5c1a6644965d52e2de049e897bc5077 (diff)
downloadperl-282e17420839364a06808f9f85ab641c510d8296.tar.gz
S_pad_findlex has side effects, so its return value may be ignored
p4raw-id: //depot/perl@25127
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pad.c b/pad.c
index 9ebe2660eb..5f04fd63b3 100644
--- a/pad.c
+++ b/pad.c
@@ -753,7 +753,8 @@ S_pad_findlex(pTHX_ const char *name, const CV* cv, U32 seq, int warn,
"Pad findlex cv=0x%"UVxf" chasing lex in outer pad\n",
PTR2UV(cv)));
n = *out_name_sv;
- pad_findlex(name, CvOUTSIDE(cv), CvOUTSIDE_SEQ(cv),
+ (void) pad_findlex(name, CvOUTSIDE(cv),
+ CvOUTSIDE_SEQ(cv),
newwarn, out_capture, out_name_sv, out_flags);
*out_name_sv = n;
return offset;