Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update Reachability.m #390

Open
wants to merge 1 commit into from

1 participant

@wangyangkobe

Fix the warning : " ASIHTTPRequest/Reachability.m:158:13: Unused function 'logNetworkStatus_' ".

@wangyangkobe wangyangkobe Update Reachability.m
Fix the warning : " ASIHTTPRequest/Reachability.m:158:13: Unused function 'logNetworkStatus_' ".
c5f1548
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 30, 2014
  1. @wangyangkobe

    Update Reachability.m

    wangyangkobe authored
    Fix the warning : " ASIHTTPRequest/Reachability.m:158:13: Unused function 'logNetworkStatus_' ".
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  External/Reachability/Reachability.m
View
2  External/Reachability/Reachability.m
@@ -154,7 +154,7 @@ static void logReachabilityFlags_(const char *name, int line, SCNetworkReachabil
} // logReachabilityFlags_()
#define logNetworkStatus(status) (logNetworkStatus_(__PRETTY_FUNCTION__, __LINE__, status))
-
+static void logNetworkStatus_(const char *name, int line, NetworkStatus status) __attribute__ ((unused));
static void logNetworkStatus_(const char *name, int line, NetworkStatus status) {
NSString *statusString = nil;
Something went wrong with that request. Please try again.