Fix uninitialized warnings.
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c index 0fae47c..9b8842d 100644 --- a/dlls/comctl32/datetime.c +++ b/dlls/comctl32/datetime.c
@@ -607,7 +607,7 @@ RECT *checkbox = &infoPtr->checkbox; SIZE size; COLORREF oldTextColor; - SHORT fieldWidth; + SHORT fieldWidth = 0; /* draw control edge */ TRACE("\n");
diff --git a/dlls/itss/chm_lib.c b/dlls/itss/chm_lib.c index 3eef05d..7ced58d 100644 --- a/dlls/itss/chm_lib.c +++ b/dlls/itss/chm_lib.c
@@ -1289,7 +1289,7 @@ UInt64 nBlock, nOffset; UInt64 nLen; UInt64 gotLen; - UChar *ubuffer; + UChar *ubuffer = NULL; if (len <= 0) return (Int64)0;
diff --git a/dlls/kernel/instr.c b/dlls/kernel/instr.c index dd23f36..14ed226 100644 --- a/dlls/kernel/instr.c +++ b/dlls/kernel/instr.c
@@ -103,7 +103,7 @@ static BYTE *INSTR_GetOperandAddr( CONTEXT86 *context, BYTE *instr, int long_addr, int segprefix, int *len ) { - int mod, rm, base, index = 0, ss = 0, seg = 0, off; + int mod, rm, base = 0, index = 0, ss = 0, seg = 0, off; LDT_ENTRY entry; #define GET_VAL(val,type) \
diff --git a/dlls/wineps/truetype.c b/dlls/wineps/truetype.c index e549584..609e9af 100644 --- a/dlls/wineps/truetype.c +++ b/dlls/wineps/truetype.c
@@ -425,7 +425,7 @@ { AFM *afm; AFMMETRICS *metrics; - LPSTR font_name, full_name, family_name, encoding_scheme; + LPSTR font_name, full_name, family_name, encoding_scheme = NULL; FT_CharMap charmap; BOOL retval, added;
diff --git a/dlls/wintab32/context.c b/dlls/wintab32/context.c index b19b9d9..d0731b4 100644 --- a/dlls/wintab32/context.c +++ b/dlls/wintab32/context.c
@@ -548,7 +548,7 @@ { int rc = 0; LPOPENCONTEXT context; - LPWTPACKET wtp; + LPWTPACKET wtp = NULL; TRACE("(%p, %d, %p)\n", hCtx, wSerial, lpPkt);
diff --git a/programs/winedbg/break.c b/programs/winedbg/break.c index 717bdae..f5b5cf7 100644 --- a/programs/winedbg/break.c +++ b/programs/winedbg/break.c
@@ -711,7 +711,7 @@ BOOL break_should_continue(ADDRESS* addr, DWORD code, int* count, BOOL* is_break) { int bpnum; - DWORD oldval; + DWORD oldval = 0; int wpnum; enum dbg_exec_mode mode = dbg_curr_thread->exec_mode;
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c index b1e099d..f042877 100644 --- a/tools/winedump/pe.c +++ b/tools/winedump/pe.c
@@ -292,7 +292,7 @@ static void dump_dir_exported_functions(void) { - unsigned int size; + unsigned int size = 0; IMAGE_EXPORT_DIRECTORY *exportDir = get_dir_and_size(IMAGE_FILE_EXPORT_DIRECTORY, &size); unsigned int i; DWORD* pFunc;