Various warning cleanups

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-11-23 22:14:32 +00:00
parent d547cbee4e
commit e0544c3eb5
13 changed files with 50 additions and 32 deletions

View File

@@ -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)