fix: minor xcode warnings in macOS client (#3174)

This commit is contained in:
FX Coudert
2022-06-02 02:51:09 +02:00
committed by GitHub
parent 9170c0f5fc
commit f5e6c5b782
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -150,7 +150,6 @@
//set auto import
NSString* autoPath;
VDKQueue* x = [(Controller*)[NSApp delegate] fileWatcherQueue];
if ([_fDefaults boolForKey:@"AutoImport"] && (autoPath = [_fDefaults stringForKey:@"AutoImportDirectory"]))
{
[((Controller*)NSApp.delegate).fileWatcherQueue addPath:autoPath.stringByExpandingTildeInPath