diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-04 12:04:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-04 12:04:54 +0200 |
commit | f92a29adfea7fb37a306da2202738ebfa1fb79b2 (patch) | |
tree | 4883385e9ea2f977c38909b98cf385e82b3fe29b /platform/iphone | |
parent | cfa373c69f6af64d9fce8f1773a4b795f361a34c (diff) | |
parent | 97b9697ea2601f0fd92e3f326c6db29e0598638f (diff) |
Merge pull request #22710 from akien-mga/fix-warnings
Fix some OSX and iOS Clang warnings
Diffstat (limited to 'platform/iphone')
-rw-r--r-- | platform/iphone/gl_view.mm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm index 478a3125af..2925b46007 100644 --- a/platform/iphone/gl_view.mm +++ b/platform/iphone/gl_view.mm @@ -53,7 +53,6 @@ static GLView *_instance = NULL; static bool video_found_error = false; static bool video_playing = false; -static float video_previous_volume = 0.0f; static CMTime video_current_time; void _show_keyboard(String); @@ -248,16 +247,6 @@ static int remove_touch(UITouch *p_touch) { return remaining; }; -static int get_first_id(UITouch *p_touch) { - - for (int i = 0; i < max_touches; i++) { - - if (touches[i] != NULL) - return i; - }; - return -1; -}; - static void clear_touches() { for (int i = 0; i < max_touches; i++) { @@ -751,7 +740,6 @@ static void clear_touches() { [_instance.moviePlayerController stop]; [_instance.moviePlayerController.view removeFromSuperview]; - //[[MPMusicPlayerController applicationMusicPlayer] setVolume: video_previous_volume]; video_playing = false; } */ |