summaryrefslogtreecommitdiff
path: root/pp_pack.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-06-23 21:04:00 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-23 18:53:04 +0000
commit8772537cf6d022a54f738ccb84b65a7f21ccf1b2 (patch)
treea17781729c582f324a835278656c8f20a0ce1bfd /pp_pack.c
parent5b35fc8b5884b43fcc53d952f9dc9ad629b742f1 (diff)
downloadperl-8772537cf6d022a54f738ccb84b65a7f21ccf1b2.tar.gz
Pre-YAPC consting fun
Message-ID: <20050623190423.GA13835@petdance.com> p4raw-id: //depot/perl@24965
Diffstat (limited to 'pp_pack.c')
-rw-r--r--pp_pack.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pp_pack.c b/pp_pack.c
index dbd26d9068..a5e1c8e0f4 100644
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -1159,9 +1159,9 @@ I32
Perl_unpack_str(pTHX_ const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags)
{
tempsym_t sym;
- (void)strbeg;
- (void)new_s;
- (void)ocnt;
+ PERL_UNUSED_ARG(strbeg);
+ PERL_UNUSED_ARG(new_s);
+ PERL_UNUSED_ARG(ocnt);
if (flags & FLAG_DO_UTF8) flags |= FLAG_WAS_UTF8;
else if (need_utf8(pat, patend)) {
@@ -2399,8 +2399,8 @@ void
Perl_pack_cat(pTHX_ SV *cat, const char *pat, const char *patend, register SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)
{
tempsym_t sym;
- (void)next_in_list;
- (void)flags;
+ PERL_UNUSED_ARG(next_in_list);
+ PERL_UNUSED_ARG(flags);
TEMPSYM_INIT(&sym, pat, patend, FLAG_PACK);