mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r3853: Fix an uninitialized variable warning. Jeremy, there are some of these in
charcnv.c. Volker
This commit is contained in:
parent
3bd72b864f
commit
650d52648d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user