summaryrefslogtreecommitdiff
path: root/ext/GDBM_File
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-06-11 15:19:45 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-12 13:13:27 +0000
commitc6c619a96fa11b09bef26d0c724b6cfd0bdbb34b (patch)
tree00f4b8ab49ed4e56e2be3401170b6d1b6bca3e61 /ext/GDBM_File
parent6676db263f08eab1c09a46739d7c3c0d2ea7f6df (diff)
downloadperl-c6c619a96fa11b09bef26d0c724b6cfd0bdbb34b.tar.gz
ext/ + -Wall
Message-ID: <Pine.LNX.4.21.0106112212261.24181-100000@mako.covalent.net> p4raw-id: //depot/perl@10534
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r--ext/GDBM_File/GDBM_File.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/GDBM_File/GDBM_File.xs b/ext/GDBM_File/GDBM_File.xs
index 1ec5ea803d..3f18a4a28c 100644
--- a/ext/GDBM_File/GDBM_File.xs
+++ b/ext/GDBM_File/GDBM_File.xs
@@ -197,6 +197,10 @@ constant(char *name, int arg)
errno = EINVAL;
return 0;
+ if (0) {
+ goto not_there; /* -Wall */
+ }
+
not_there:
errno = ENOENT;
return 0;