Skip to content

Commit

Permalink
Don’t initialize string
Browse files Browse the repository at this point in the history
  • Loading branch information
daylen committed May 31, 2014
1 parent 22d19fe commit 6522eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stockfish/SFMBoardView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ - (void)drawRect:(NSRect)dirtyRect
}

// Draw coordinates
NSString *str = [NSString new];
NSString *str;
NSMutableParagraphStyle *pStyle = [[NSMutableParagraphStyle defaultParagraphStyle] mutableCopy];
[pStyle setAlignment:NSCenterTextAlignment];

Expand Down

0 comments on commit 6522eca

Please sign in to comment.