summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gv.c2
-rw-r--r--perl.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/gv.c b/gv.c
index a89e900bf8..b24c83e28f 100644
--- a/gv.c
+++ b/gv.c
@@ -652,7 +652,7 @@ Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, I32 sv_type)
char smallbuf[256];
char *tmpbuf;
- if (len + 3 < sizeof smallbuf)
+ if (len + 3 < sizeof (smallbuf))
tmpbuf = smallbuf;
else
New(601, tmpbuf, len+3, char);
diff --git a/perl.c b/perl.c
index 1a5ec5c5b5..4c69293bb8 100644
--- a/perl.c
+++ b/perl.c
@@ -2686,8 +2686,6 @@ S_init_main_stash(pTHX)
{
GV *gv;
-
-
PL_curstash = PL_defstash = newHV();
PL_curstname = newSVpvn("main",4);
gv = gv_fetchpv("main::",TRUE, SVt_PVHV);