mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 08:12:28 +00:00
fixed analyzer warning (garbage values)
This commit is contained in:
@@ -112,7 +112,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
|
|||||||
_bindingEstablished = YES;
|
_bindingEstablished = YES;
|
||||||
}
|
}
|
||||||
NSTreeNode *node = [_outlineView itemAtRow:0];
|
NSTreeNode *node = [_outlineView itemAtRow:0];
|
||||||
NSInteger topRow;
|
NSInteger topRow = 0;
|
||||||
[self _expandItems:node topRow:&topRow];
|
[self _expandItems:node topRow:&topRow];
|
||||||
if(topRow > 0) {
|
if(topRow > 0) {
|
||||||
NSRect rowRect = [self.outlineView rectOfRow:topRow];
|
NSRect rowRect = [self.outlineView rectOfRow:topRow];
|
||||||
|
|||||||
Reference in New Issue
Block a user