Commit 8f00116b authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

gameux: Return function result on error (PVS-Studio).

parent e26e33fa
......@@ -627,6 +627,7 @@ static HRESULT GAMEUX_loadGameStatistics(struct GAMEUX_STATS *pStats,
TRACE("(%p, %s, %d, %p)\n", pStats, debugstr_w(sGameId), openType, pOpenResult);
hr = GAMEUX_buildStatisticsFilePath(sGameId, pStats->sStatsFile);
if (FAILED(hr)) return hr;
hr = GAMEUX_loadStatisticsFromFile(pStats);
TRACE("ldstats finished, res: %#x\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment