From 3ee56801f65467a27d0a213388c10d9615a8a36a Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Mon, 4 Apr 2022 13:46:41 -0230 Subject: [PATCH] Eliminate unused variable. --- src/macos/AboutBox.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/macos/AboutBox.m b/src/macos/AboutBox.m index 15f8d5d2c..a9d1a78fd 100644 --- a/src/macos/AboutBox.m +++ b/src/macos/AboutBox.m @@ -58,7 +58,6 @@ static AboutBox *sharedInstance = nil; NSString *versionString; NSDictionary *infoDictionary; CFBundleRef localInfoBundle; - NSDictionary *localInfoDict; if (![[NSBundle mainBundle] loadNibNamed:@"AboutBox" owner:self topLevelObjects:nil]) { @@ -73,7 +72,7 @@ static AboutBox *sharedInstance = nil; // Get the localized info dictionary (InfoPlist.strings) localInfoBundle = CFBundleGetMainBundle(); - localInfoDict = (NSDictionary *) CFBundleGetLocalInfoDictionary( localInfoBundle ); + CFBundleGetLocalInfoDictionary(localInfoBundle); // Setup the app name field appName = @"Stella";