diff options
author | David Mitchell <davem@iabyn.com> | 2010-09-12 12:27:19 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-09-12 12:27:19 +0100 |
commit | 790427a55372311797954fb3140cd3e0a4ae6d28 (patch) | |
tree | 0ee3a2acd8a9694acb549dc38bdff540b7d31b14 /pad.c | |
parent | b24b84ef00c067346532edb01a22dd2ed39c7852 (diff) | |
download | perl-790427a55372311797954fb3140cd3e0a4ae6d28.tar.gz |
fix a couple of -Dmad compiler warnings
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |