projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa90673
)
Fixed uninitialized value.
author
Armin Novak
<armin.novak@thincast.com>
Thu, 14 Jan 2016 15:00:31 +0000
(16:00 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Fri, 15 Jan 2016 08:33:21 +0000
(09:33 +0100)
winpr/libwinpr/file/file.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/file/file.c
b/winpr/libwinpr/file/file.c
index
066a76e
..
27332e2
100644
(file)
--- a/
winpr/libwinpr/file/file.c
+++ b/
winpr/libwinpr/file/file.c
@@
-424,7
+424,7
@@
static HANDLE FileCreateFileA(LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dw
WINPR_FILE* pFile;
BOOL create;
const char* mode = FileGetMode(dwDesiredAccess, dwCreationDisposition, &create);
- int lock;
+ int lock
= 0
;
FILE* fp = NULL;
pFile = (WINPR_FILE*) calloc(1, sizeof(WINPR_FILE));