From b0f494e186ecc2c19ee23c1d3c705341cdebdbf0 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Thu, 14 Sep 2017 10:03:28 -0400 Subject: [PATCH] Complete the prototype of the block. Should work around warnings in newer Xcodes. Also bump the podspec version to roll this into a release. --- GTMOAuth2.podspec | 2 +- Source/Touch/GTMOAuth2ViewControllerTouch.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GTMOAuth2.podspec b/GTMOAuth2.podspec index f853c73..f4a1387 100644 --- a/GTMOAuth2.podspec +++ b/GTMOAuth2.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'GTMOAuth2' - s.version = '1.1.4' + s.version = '1.1.5' s.author = 'Google Inc.' s.homepage = 'https://github.com/google/gtm-oauth2' s.license = { :type => 'Apache', :file => 'LICENSE' } diff --git a/Source/Touch/GTMOAuth2ViewControllerTouch.m b/Source/Touch/GTMOAuth2ViewControllerTouch.m index d9002ff..d21b630 100644 --- a/Source/Touch/GTMOAuth2ViewControllerTouch.m +++ b/Source/Touch/GTMOAuth2ViewControllerTouch.m @@ -387,7 +387,7 @@ - (void)setUpNavigation { - (void)popView { #if NS_BLOCKS_AVAILABLE - void (^popViewBlock)() = self.popViewBlock; + void (^popViewBlock)(void) = self.popViewBlock; #else id popViewBlock = nil; #endif