From cd1e969b2807a2e02aeccd8c9c56e52ec162a28c Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 9 Mar 2015 10:29:13 +0100 Subject: [PATCH] gameux: Avoid comparison of a BOOL return with TRUE (PVS-Studio). --- dlls/gameux/gamestatistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gameux/gamestatistics.c b/dlls/gameux/gamestatistics.c index 7c950656be7..ff57b7721ad 100644 --- a/dlls/gameux/gamestatistics.c +++ b/dlls/gameux/gamestatistics.c @@ -1127,7 +1127,7 @@ static HRESULT STDMETHODCALLTYPE GameStatisticsMgrImpl_RemoveGameStatistics( hr = GAMEUX_buildStatisticsFilePath(lpApplicationId, sStatsFile); if(SUCCEEDED(hr)) - hr = (DeleteFileW(sStatsFile)==TRUE ? S_OK : HRESULT_FROM_WIN32(GetLastError())); + hr = DeleteFileW(sStatsFile) ? S_OK : HRESULT_FROM_WIN32(GetLastError()); return hr; } -- 2.11.4.GIT