Skip to content

Commit 6522eca

Browse files
committed
Don’t initialize string
1 parent 22d19fe commit 6522eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Stockfish/SFMBoardView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ - (void)drawRect:(NSRect)dirtyRect
169169
}
170170

171171
// Draw coordinates
172-
NSString *str = [NSString new];
172+
NSString *str;
173173
NSMutableParagraphStyle *pStyle = [[NSMutableParagraphStyle defaultParagraphStyle] mutableCopy];
174174
[pStyle setAlignment:NSCenterTextAlignment];
175175

0 commit comments

Comments
 (0)