summaryrefslogtreecommitdiff
path: root/deb.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2007-08-29 17:04:53 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-08-30 13:49:14 +0000
commitfe5bfecd71ca735f83568f7bc2b9f22cc82e3d61 (patch)
tree1fbf396647db987f0166de4ee32bf04f3c6c5c25 /deb.c
parent0cb1540ad85637e5abb7372876a8c85c855a7427 (diff)
downloadperl-fe5bfecd71ca735f83568f7bc2b9f22cc82e3d61.tar.gz
misc blead stuff
Message-ID: <46D617B5.3000002@iki.fi> p4raw-id: //depot/perl@31765
Diffstat (limited to 'deb.c')
-rw-r--r--deb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/deb.c b/deb.c
index 37d7a7c102..a3f0d4ff67 100644
--- a/deb.c
+++ b/deb.c
@@ -41,15 +41,14 @@ Perl_deb_nocontext(const char *pat, ...)
void
Perl_deb(pTHX_ const char *pat, ...)
{
-#ifdef DEBUGGING
va_list args;
va_start(args, pat);
+#ifdef DEBUGGING
vdeb(pat, &args);
- va_end(args);
#else
PERL_UNUSED_CONTEXT;
- PERL_UNUSED_ARG(pat);
#endif /* DEBUGGING */
+ va_end(args);
}
void