Change 28535 by [EMAIL PROTECTED] on 2006/07/10 18:26:25
Fix another empty if-statement warning
Affected files ...
... //depot/perl/sv.c#1284 edit
Differences ...
==== //depot/perl/sv.c#1284 (text) ====
Index: perl/sv.c
--- perl/sv.c#1283~28419~ 2006-06-23 09:28:03.000000000 -0700
+++ perl/sv.c 2006-07-10 11:26:25.000000000 -0700
@@ -3935,8 +3935,10 @@
if (SvPVX_const(sv))
SvPV_free(sv);
+#ifdef DEBUGGING
if (flags & SV_HAS_TRAILING_NUL)
assert(ptr[len] == '\0');
+#endif
allocate = (flags & SV_HAS_TRAILING_NUL)
? len + 1: PERL_STRLEN_ROUNDUP(len + 1);
End of Patch.