diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c index c5ed06a171..aa757be24b 100644 --- a/dlls/comctl32/rebar.c +++ b/dlls/comctl32/rebar.c @@ -366,7 +366,7 @@ REBAR_DumpBandInfo( LPREBARBANDINFOA pB) { if( !TRACE_ON(rebar) ) return; TRACE("band info: "); - if (pB->fMask & RBBIM_ID); + if (pB->fMask & RBBIM_ID) TRACE("ID=%u, ", pB->wID); TRACE("size=%u, child=%p", pB->cbSize, pB->hwndChild); if (pB->fMask & RBBIM_COLORS) @@ -415,7 +415,7 @@ REBAR_DumpBand (REBAR_INFO *iP) for (i = 0; i < iP->uNumBands; i++) { pB = &iP->bands[i]; TRACE("band # %u:", i); - if (pB->fMask & RBBIM_ID); + if (pB->fMask & RBBIM_ID) TRACE(" ID=%u", pB->wID); if (pB->fMask & RBBIM_CHILD) TRACE(" child=%p", pB->hwndChild); diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index db9ebdc56f..f5b12d3d39 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -368,7 +368,7 @@ static UINT process_handle(MSIPACKAGE* package, UINT type, } CloseHandle(ThreadHandle); - if (ProcessHandle); + if (ProcessHandle) CloseHandle(ProcessHandle); if (finished) *finished = TRUE; @@ -390,7 +390,7 @@ static UINT process_handle(MSIPACKAGE* package, UINT type, else { CloseHandle(ThreadHandle); - if (ProcessHandle); + if (ProcessHandle) CloseHandle(ProcessHandle); } if (finished)