diff options
author | Andy Lester <andy@petdance.com> | 2006-06-11 17:44:34 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-06-12 10:07:18 +0000 |
commit | 42d0e0b77a1ef47b81ab3e346a1a4dc0af5b9bec (patch) | |
tree | 7011adacbdf7230ca54109588b961d605d72fae6 /perlio.c | |
parent | be8e71aa96b3d344129617fadcaca7d958882caa (diff) | |
download | perl-42d0e0b77a1ef47b81ab3e346a1a4dc0af5b9bec.tar.gz |
Proper use of enums
Message-ID: <20060612034434.GA21588@petdance.com>
p4raw-id: //depot/perl@28381
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1431,8 +1431,9 @@ PerlIO_layer_from_ref(pTHX_ SV *sv) return PerlIO_find_layer(aTHX_ STR_WITH_LEN("Code"), 0); case SVt_PVGV: return PerlIO_find_layer(aTHX_ STR_WITH_LEN("Glob"), 0); + default: + return NULL; } - return NULL; } PerlIO_list_t * |