Fix static analysis warnings (pointless move, empty instead of size)

This commit is contained in:
Henrik Rydgård committed 2025-08-31 00:59:51 +02:00
1 parent cee9494476
commit 00a13bfb14
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -939,7 +939,7 @@ extern "C" void Java_org_ppsspp_ppsspp_NativeApp_shutdown(JNIEnv *, jclass) {
{
std::lock_guard<std::mutex> guard(frameCommandLock);
while (frameCommands.size())
while (!frameCommands.empty())
frameCommands.pop();
}
INFO_LOG(Log::System, "NativeApp.shutdown() -- end");