1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-13 23:57:41 +02:00

went through the rest of cppcheck warnings, mostly harmless

This commit is contained in:
Ivan Savenko
2013-11-07 12:48:41 +00:00
parent 71d6b0fea9
commit ee6cdbeffe
39 changed files with 88 additions and 126 deletions

View File

@@ -168,7 +168,7 @@ void CGuiHandler::handleEvents()
{
SDL_Event ev;
boost::unique_lock<boost::mutex> lock(eventsM);
if(!events.size())
if(events.empty())
{
return;
}