Fix uninitialized warnings.
This commit is contained in:
parent
4ad93416a8
commit
97d1b11ebd
|
@ -607,7 +607,7 @@ DATETIME_Refresh (DATETIME_INFO *infoPtr, HDC hdc)
|
|||
RECT *checkbox = &infoPtr->checkbox;
|
||||
SIZE size;
|
||||
COLORREF oldTextColor;
|
||||
SHORT fieldWidth;
|
||||
SHORT fieldWidth = 0;
|
||||
|
||||
/* draw control edge */
|
||||
TRACE("\n");
|
||||
|
|
|
@ -1289,7 +1289,7 @@ static Int64 _chm_decompress_region(struct chmFile *h,
|
|||
UInt64 nBlock, nOffset;
|
||||
UInt64 nLen;
|
||||
UInt64 gotLen;
|
||||
UChar *ubuffer;
|
||||
UChar *ubuffer = NULL;
|
||||
|
||||
if (len <= 0)
|
||||
return (Int64)0;
|
||||
|
|
|
@ -103,7 +103,7 @@ static BOOL INSTR_ReplaceSelector( CONTEXT86 *context, WORD *sel )
|
|||
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) \
|
||||
|
|
|
@ -425,7 +425,7 @@ static BOOL BuildTrueTypeAFM(FT_Face face)
|
|||
{
|
||||
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;
|
||||
|
||||
|
|
|
@ -548,7 +548,7 @@ BOOL WINAPI WTPacket(HCTX hCtx, UINT wSerial, LPVOID lpPkt)
|
|||
{
|
||||
int rc = 0;
|
||||
LPOPENCONTEXT context;
|
||||
LPWTPACKET wtp;
|
||||
LPWTPACKET wtp = NULL;
|
||||
|
||||
TRACE("(%p, %d, %p)\n", hCtx, wSerial, lpPkt);
|
||||
|
||||
|
|
|
@ -711,7 +711,7 @@ static BOOL should_stop(int bpnum)
|
|||
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;
|
||||
|
||||
|
|
|
@ -292,7 +292,7 @@ static void dump_sections(void* addr, unsigned num_sect)
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue