summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-02 17:07:57 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-02 17:07:57 +0000
commit5f74f29c8f6f417d66c92da59fd3fa4b09850be6 (patch)
treed8df1c93d7e98029dc96f51e708d05144d3a1c4c /mg.c
parentc01c1f0dc3aef0fc53c73558fd9554442d6c8540 (diff)
downloadperl-5f74f29c8f6f417d66c92da59fd3fa4b09850be6.tar.gz
Various small nits found by DJGPP build.
p4raw-id: //depot/perl@13427
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index 2a80760722..6897c99ddd 100644
--- a/mg.c
+++ b/mg.c
@@ -869,7 +869,6 @@ Perl_magic_setenv(pTHX_ SV *sv, MAGIC *mg)
register char *s;
char *ptr;
STRLEN len, klen;
- I32 i;
s = SvPV(sv,len);
ptr = MgPV(mg,klen);
@@ -922,6 +921,7 @@ Perl_magic_setenv(pTHX_ SV *sv, MAGIC *mg)
while (s < strend) {
char tmpbuf[256];
struct stat st;
+ I32 i;
s = delimcpy(tmpbuf, tmpbuf + sizeof tmpbuf,
s, strend, ':', &i);
s++;