summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-09-12 12:27:19 +0100
committerDavid Mitchell <davem@iabyn.com>2010-09-12 12:27:19 +0100
commit790427a55372311797954fb3140cd3e0a4ae6d28 (patch)
tree0ee3a2acd8a9694acb549dc38bdff540b7d31b14 /pad.c
parentb24b84ef00c067346532edb01a22dd2ed39c7852 (diff)
downloadperl-790427a55372311797954fb3140cd3e0a4ae6d28.tar.gz
fix a couple of -Dmad compiler warnings
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 0b3c948ef2..e945113a4a 100644
--- a/pad.c
+++ b/pad.c
@@ -132,7 +132,8 @@ For state vars, SVs_PADSTALE is overloaded to mean 'not yet initialised'
#ifdef PERL_MAD
void pad_peg(const char* s) {
- static int pegcnt;
+ static int pegcnt; /* XXX not threadsafe */
+ PERL_UNUSED_ARG(s);
PERL_ARGS_ASSERT_PAD_PEG;