Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fix warning #498

Merged
merged 1 commit into from

2 participants

@diederich

Xcode warns about a missing prototype which can
be fixed by making the (private) method static

@diederich diederich fix warning
Xcode warns about a missing prototype which can
be fixed by making the (private) method static
e1dafd1
@mattt

Ah, thanks. I missed that when I was refactoring. That's now a private function, since it isn't particularly useful to an end-user.

@mattt mattt closed this
@mattt mattt reopened this
@mattt mattt merged commit 4bdc72c into AFNetworking:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 4, 2012
  1. @diederich

    fix warning

    diederich authored
    Xcode warns about a missing prototype which can
    be fixed by making the (private) method static
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  AFNetworking/AFHTTPClient.m
View
2  AFNetworking/AFHTTPClient.m
@@ -93,7 +93,7 @@ - (NSMutableURLRequest *)requestByFinalizingMultipartFormData;
return [[[NSString alloc] initWithData:mutableData encoding:NSASCIIStringEncoding] autorelease];
}
-NSString * AFPercentEscapedQueryStringPairMemberFromStringWithEncoding(NSString *string, NSStringEncoding encoding) {
+static NSString * AFPercentEscapedQueryStringPairMemberFromStringWithEncoding(NSString *string, NSStringEncoding encoding) {
// Escape characters that are legal in URIs, but have unintentional semantic significance when used in a query string parameter
static NSString * const kAFLegalCharactersToBeEscaped = @":/.?&=;+!@$()~";
Something went wrong with that request. Please try again.