소스 검색

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)
 		{