Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Complete the prototype of the block.
Browse files Browse the repository at this point in the history
Should work around warnings in newer Xcodes.

Also bump the podspec version to roll this into a release.
  • Loading branch information
thomasvl authored and sergiocampama committed Sep 14, 2017
1 parent dc23094 commit b0f494e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GTMOAuth2.podspec
Original file line number Diff line number Diff line change
@@ -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' }
Expand Down
2 changes: 1 addition & 1 deletion Source/Touch/GTMOAuth2ViewControllerTouch.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0f494e

Please sign in to comment.