Browse Source

vcmi: suppress warning on IOS

Let CI passes on develop.
Konstantin 2 years ago
parent
commit
080d4b13dd
1 changed files with 2 additions and 0 deletions
  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)
 		{