From 876f95c97cd71e9d907986c0b6daec043c8b3f20 Mon Sep 17 00:00:00 2001 From: michael starke Date: Wed, 17 Aug 2016 14:22:45 +0200 Subject: [PATCH] fixed analyzer warning (garbage values) --- MacPass/MPOutlineViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPOutlineViewController.m b/MacPass/MPOutlineViewController.m index 55d26676..7c02242e 100644 --- a/MacPass/MPOutlineViewController.m +++ b/MacPass/MPOutlineViewController.m @@ -112,7 +112,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell"; _bindingEstablished = YES; } NSTreeNode *node = [_outlineView itemAtRow:0]; - NSInteger topRow; + NSInteger topRow = 0; [self _expandItems:node topRow:&topRow]; if(topRow > 0) { NSRect rowRect = [self.outlineView rectOfRow:topRow];