Skip to content

Commit 1a02337

Browse files
authored
initialize with NSZeroSize
1 parent eec4a92 commit 1a02337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualization_view.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ - (void)setupGraphicWindow
453453
// distortion within the window.
454454
- (NSSize)getVirtualMachineSizeInPixels
455455
{
456-
__block NSSize sizeInPixels;
456+
__block NSSize sizeInPixels = NSZeroSize;
457457
#ifdef INCLUDE_TARGET_OSX_14
458458
if (@available(macOS 14.0, *)) {
459459
dispatch_sync(_queue, ^{

0 commit comments

Comments
 (0)