From 7e769de5d2b46b70ed3d5abe818bdb58a4d4c5c2 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 16 Jan 2018 12:00:04 -0500 Subject: [PATCH] Remove spurious warning. --- SignalServiceKit/src/Util/OWSFileSystem.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SignalServiceKit/src/Util/OWSFileSystem.h b/SignalServiceKit/src/Util/OWSFileSystem.h index 20903497b..bb7f249ac 100644 --- a/SignalServiceKit/src/Util/OWSFileSystem.h +++ b/SignalServiceKit/src/Util/OWSFileSystem.h @@ -8,8 +8,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init NS_UNAVAILABLE; -// TODO: We shouldn't ignore the return value of this method. -+ (BOOL)protectFileOrFolderAtPath:(NSString *)path __attribute__((warn_unused_result)); ++ (BOOL)protectFileOrFolderAtPath:(NSString *)path; + (NSString *)appDocumentDirectoryPath;