]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Silence a gcc warning
authorVincent Pit <vince@profvince.com>
Fri, 16 Apr 2010 22:12:10 +0000 (00:12 +0200)
committerVincent Pit <vince@profvince.com>
Fri, 16 Apr 2010 22:12:10 +0000 (00:12 +0200)
Upper.xs

index 9817196867a8466c1867c3ff6a45d9a17122d8a4..92f9e65b4f0e09573b28c7dd9e8ab6bf54b44607 100644 (file)
--- a/Upper.xs
+++ b/Upper.xs
@@ -542,7 +542,7 @@ STATIC void su_pop(pTHX_ void *ud) {
  if (depth > 0) {
   I32 pad;
 
-  if (pad = SU_UD_PAD(ud)) {
+  if ((pad = SU_UD_PAD(ud))) {
    dMY_CXT;
    do {
     SU_D(PerlIO_printf(Perl_debug_log,