projects
/
perl
/
modules
/
Scope-Upper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
625f57f
)
Silence a switch warning
author
Vincent Pit <vince@profvince.com>
Mon, 18 Jan 2010 21:41:01 +0000 (22:41 +0100)
committer
Vincent Pit <vince@profvince.com>
Mon, 18 Jan 2010 21:41:01 +0000 (22:41 +0100)
Upper.xs
patch
|
blob
|
history
diff --git
a/Upper.xs
b/Upper.xs
index 7a2a79a114ee1330709ad1019286c0ba3aa0b1e1..61f8560e5bf4b957971e31d2d65260f41984ef66 100644
(file)
--- a/
Upper.xs
+++ b/
Upper.xs
@@
-401,6
+401,7
@@
STATIC void su_ud_localize_init(pTHX_ su_ud_localize *ud, SV *sv, SV *val, SV *e
case SVt_PVCV:
case SVt_PVGV:
deref = 0;
+ default:
break;
}
/* When deref is set, val isn't NULL */