Преглед на файлове

Merge pull request #1523 from rilian-la-te/fix-ios-ci

suppress warning on iOS
Andrey Filipenkov преди 2 години
родител
ревизия
783174c2af
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      client/gui/CGuiHandler.cpp

+ 2 - 0
client/gui/CGuiHandler.cpp

@@ -474,7 +474,9 @@ void CGuiHandler::handleCurrentEvent( SDL_Event & current )
 	}
 	else if(current.type == SDL_FINGERUP)
 	{
+#ifndef VCMI_IOS
 		auto fingerCount = SDL_GetNumTouchFingers(current.tfinger.touchId);
+#endif //VCMI_IOS
 
 		if(isPointerRelativeMode)
 		{