aboutsummaryrefslogtreecommitdiffstats
path: root/db1-ast/recno/rec_open.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-23 22:14:32 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-23 22:14:32 +0000
commit54b6732e7a947ca6ea41a4ac2b6c6f8b9844af7b (patch)
tree3abbcfbfaf4182b264577213a5ce992548a32b40 /db1-ast/recno/rec_open.c
parentc5141472b8fb52723d319e61f197f83928b140eb (diff)
Various warning cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1782 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'db1-ast/recno/rec_open.c')
-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)