mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-07 13:16:10 +00:00
This is undefined behavior in C++, and a clang warning suggests it is
actually producing bad code as a result:
../Source/Core/VideoCommon/BPFunctions.cpp:164:45: warning: comparison of constant 4294967295 with expression of type 'PEControl::PixelFormat' is always false [-Wtautological-constant-out-of-range-compare]
if (new_format == old_format || old_format == (unsigned int)-1)
|
||
|---|---|---|
| .. | ||
| Android | ||
| Core | ||
| DSPSpy | ||
| DSPTool | ||
| UnitTests | ||
| VSProps | ||
| CMakeLists.txt | ||
| dolphin-emu.sln | ||
| pch.h | ||