shell_integration on OSX: Remove dead code
authorJocelyn Turcotte <jturcotte@woboq.com>
Wed, 6 May 2015 10:49:04 +0000 (12:49 +0200)
committerJocelyn Turcotte <jturcotte@woboq.com>
Wed, 6 May 2015 14:56:50 +0000 (16:56 +0200)
commit04d820f9cf17fa841bc48ac4c6046ba3a4afa0ae
tree4a794e80fa2a1ac16c1bd50dd26f4297491156d6
parent931dd598443390c3897243314207aa6be7a1347c
shell_integration on OSX: Remove dead code

removeIcons isn't called and clearFileNameCacheForPath was always
called with a "nil" path.

Remove the return value of askForIcon which was always 0, and use
that value explicitly at the only call site.

Remove the "-1" code path in iconByPath since setIcons prevents
-1 from getting into _fileNamesCache in all cases.
shell_integration/MacOSX/OwnCloudFinder/ContentManager.h
shell_integration/MacOSX/OwnCloudFinder/ContentManager.m
shell_integration/MacOSX/OwnCloudFinder/RequestManager.h
shell_integration/MacOSX/OwnCloudFinder/RequestManager.m