1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-11 09:44:19 +03:00

r3853: Fix an uninitialized variable warning. Jeremy, there are some of these in

charcnv.c.

Volker
This commit is contained in:
Volker Lendecke
2004-11-18 16:14:13 +00:00
committed by Gerald (Jerry) Carter
parent 3bd72b864f
commit 650d52648d

View File

@@ -1376,6 +1376,8 @@ flags=0x%X flags2=0x%X mode=0%o returned %d\n",
(*Access) = open_mode;
}
action = 0;
if (file_existed && !(flags2 & O_TRUNC))
action = FILE_WAS_OPENED;
if (file_existed && (flags2 & O_TRUNC))