Skip to content

Commit

Permalink
Merge branch 'Wave39-clang-warnings'
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitribouniol committed Jan 21, 2015
2 parents 1f740e9 + 699dbec commit 7a1a7c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Classes/MDSpreadView.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ extern NSString *MDSpreadViewSelectionDidChangeNotification __attribute__((unava
NSMutableArray *columnSections;
NSMutableArray *rowSections;

UIView *dummyView;
UIView *dummyViewB;
// UIView *dummyView;
// UIView *dummyViewB;

CGSize dequeuedCellSizeHint;
MDIndexPath *dequeuedCellRowIndexHint;
Expand Down
2 changes: 0 additions & 2 deletions Classes/MDSpreadView.m
Original file line number Diff line number Diff line change
Expand Up @@ -3922,12 +3922,10 @@ - (void)_touchesEndedInCell:(MDSpreadViewCell *)cell

MDSpreadViewSelectionMode resolvedSelectionMode = MDSpreadViewSelectionModeAutomatic;

BOOL override = NO;
MDSortDescriptor *sortDescriptorPrototype = nil;
if (_autoAllowSortableHeaderSelection) {
if ([(MDSpreadViewHeaderCell *)cell respondsToSelector:@selector(sortDescriptorPrototype)] && [(MDSpreadViewHeaderCell *)cell sortDescriptorPrototype]) {
sortDescriptorPrototype = [(MDSpreadViewHeaderCell *)cell sortDescriptorPrototype];
override = YES;

resolvedSelectionMode = MDSpreadViewSelectionModeCell + sortDescriptorPrototype.sortAxis;
}
Expand Down

0 comments on commit 7a1a7c6

Please sign in to comment.