mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix static analysis warnings (pointless move, empty instead of size)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user