From 5d1a88a4db78d3c1fe9b623770ce014dce2e7b9c Mon Sep 17 00:00:00 2001 From: Marcian Lytwyn Date: Tue, 8 Nov 2016 21:34:45 +0000 Subject: [PATCH] Fix warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40197 72102866-910b-0410-8b05-ffd578937521 --- Source/NSWorkspace.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSWorkspace.m b/Source/NSWorkspace.m index 5a7ba0ab1..13e7dbbcf 100644 --- a/Source/NSWorkspace.m +++ b/Source/NSWorkspace.m @@ -549,7 +549,7 @@ static NSDictionary *extPreferences = nil; static NSString *urlPrefPath = nil; static NSDictionary *urlPreferences = nil; // FIXME: Won't work for MINGW32 -static NSString *_rootPath = @"/"; +//static NSString *_rootPath = @"/"; /* * Class methods @@ -2086,7 +2086,7 @@ launchIdentifiers: (NSArray **)identifiers end++; } len = (end - ptr); - path = [mgr stringWithFileSystemRepresentation: (const char *)ptr length: len]; + path = [mgr stringWithFileSystemRepresentation: ptr length: len]; [names addObject: path]; } if (base != buf)