Skip to content

Commit

Permalink
Suppressing some clang warnings for deprecated methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccgus committed Mar 25, 2012
1 parent a887a6f commit ceef9e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/FMResultSet.m
Expand Up @@ -95,6 +95,9 @@ - (void)kvcMagic:(id)object {
}
}

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-implementations"

- (NSDictionary*)resultDict {

int num_cols = sqlite3_data_count([_statement statement]);
Expand Down Expand Up @@ -122,6 +125,7 @@ - (NSDictionary*)resultDict {
return nil;
}

#pragma clang diagnostic pop

- (NSDictionary*)resultDictionary {

Expand Down

0 comments on commit ceef9e7

Please sign in to comment.