summaryrefslogtreecommitdiff
path: root/db1-ast/recno
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-11-23 22:14:32 +0000
committerMark Spencer <markster@digium.com>2003-11-23 22:14:32 +0000
commite0544c3eb57881bcc56b8f44f46e2dd3190c7be9 (patch)
tree3abbcfbfaf4182b264577213a5ce992548a32b40 /db1-ast/recno
parentd547cbee4e46a3ced80ea80cbe9ca914929798e9 (diff)
Various warning cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'db1-ast/recno')
-rwxr-xr-xdb1-ast/recno/rec_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db1-ast/recno/rec_open.c b/db1-ast/recno/rec_open.c
index 51d8a3c26..cf9511e87 100755
--- a/db1-ast/recno/rec_open.c
+++ b/db1-ast/recno/rec_open.c
@@ -63,7 +63,7 @@ __rec_open(fname, flags, mode, openinfo, dflags)
DB *dbp;
PAGE *h;
struct stat sb;
- int rfd, sverrno;
+ int rfd = 0, sverrno;
/* Open the user's file -- if this fails, we're done. */
if (fname != NULL && (rfd = open(fname, flags, mode)) < 0)