From c621a5801f1effd902f2e7108d9f1ce6fb49d7d0 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Tue, 20 Sep 2005 11:37:58 +0000 Subject: [PATCH] Fix if's that are followed by semicolons. --- dlls/comctl32/rebar.c | 4 ++-- dlls/msi/custom.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c index c5ed06a171f..aa757be24b1 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 db9ebdc56f2..f5b12d3d396 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)