[PATCH] expand: initialize a variable (Coverity)
Marcus Meissner
meissner at suse.de
Thu Nov 24 11:09:35 CST 2011
Hi,
Init w = 0, CID 5481
Ciao, Marcus
---
programs/expand/expand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/expand/expand.c b/programs/expand/expand.c
index 2bede08..ea7bfdf 100644
--- a/programs/expand/expand.c
+++ b/programs/expand/expand.c
@@ -30,7 +30,7 @@ static int myprintf(const char* format, ...)
{
va_list va;
char tmp[8192];
- DWORD w;
+ DWORD w = 0;
int len;
va_start(va, format);
--
1.7.1
More information about the wine-patches
mailing list