svn commit: samba r3853 - in branches/SAMBA_3_0/source/smbd: .

vlendec at samba.org vlendec at samba.org
Thu Nov 18 16:14:13 GMT 2004


Author: vlendec
Date: 2004-11-18 16:14:13 +0000 (Thu, 18 Nov 2004)
New Revision: 3853

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

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

Volker

Modified:
   branches/SAMBA_3_0/source/smbd/open.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/open.c	2004-11-18 15:52:02 UTC (rev 3852)
+++ branches/SAMBA_3_0/source/smbd/open.c	2004-11-18 16:14:13 UTC (rev 3853)
@@ -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