summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-09-21 12:08:47 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-09-21 07:54:10 +0000
commitb57a0404d6b6347be89474e64fcdac6ac6ea98db (patch)
treeacdc5f5e654b84d9d6ecc8464e9ca179e7c71359 /doio.c
parentfab43c1bb262944cb8f1d820af87e47b89cd3e12 (diff)
downloadperl-b57a0404d6b6347be89474e64fcdac6ac6ea98db.tar.gz
deal with some gcc warnings
Message-ID: <45122C6F.9080904@iki.fi> p4raw-id: //depot/perl@28877
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/doio.c b/doio.c
index e6909cb351..ef16b07906 100644
--- a/doio.c
+++ b/doio.c
@@ -1333,6 +1333,8 @@ Perl_my_stat(pTHX)
Perl_warner(aTHX_ packWARN(WARN_NEWLINE), PL_warn_nl, "stat");
return PL_laststatval;
}
+ /* Should we warn/croak here? Or do something smart/useful? */
+ return (PL_laststatval = -1);
}