[Asterisk-cvs] asterisk/db1-ast/recno rec_open.c,1.1,1.2

markster at lists.digium.com markster at lists.digium.com
Sun Nov 23 15:48:12 CST 2003


Update of /usr/cvsroot/asterisk/db1-ast/recno
In directory mongoose.digium.com:/tmp/cvs-serv24780/db1-ast/recno

Modified Files:
	rec_open.c 
Log Message:
Various warning cleanups


Index: rec_open.c
===================================================================
RCS file: /usr/cvsroot/asterisk/db1-ast/recno/rec_open.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rec_open.c	4 Jan 2003 18:49:21 -0000	1.1
+++ rec_open.c	23 Nov 2003 22:14:32 -0000	1.2
@@ -63,7 +63,7 @@
 	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)




More information about the svn-commits mailing list