svn commit: samba r3854 - in trunk/source/smbd: .

vlendec at samba.org vlendec at samba.org
Thu Nov 18 16:15:33 GMT 2004


Author: vlendec
Date: 2004-11-18 16:15:31 +0000 (Thu, 18 Nov 2004)
New Revision: 3854

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3854

Log:
Fix an uninitialized variable warning. Jeremy, there are some of these in
charcnv.c.

Volker

Modified:
   trunk/source/smbd/open.c


Changeset:
Modified: trunk/source/smbd/open.c
===================================================================
--- trunk/source/smbd/open.c	2004-11-18 16:14:13 UTC (rev 3853)
+++ trunk/source/smbd/open.c	2004-11-18 16:15:31 UTC (rev 3854)
@@ -1376,6 +1376,8 @@
 		(*Access) = open_mode;
 	}
 
+	action = 0;
+
 	if (file_existed && !(flags2 & O_TRUNC))
 		action = FILE_WAS_OPENED;
 	if (file_existed && (flags2 & O_TRUNC))



More information about the samba-cvs mailing list