From 87551c267a12ce94d9d123e4bfff3002ca30e4df Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Sat, 31 Jul 2021 21:41:38 +0800 Subject: [PATCH] Remove the unused define Code typo fix --- SDWebImageWebPCoder/Classes/SDImageWebPCoder.m | 8 -------- 1 file changed, 8 deletions(-) diff --git a/SDWebImageWebPCoder/Classes/SDImageWebPCoder.m b/SDWebImageWebPCoder/Classes/SDImageWebPCoder.m index 863bf60..49aefe2 100644 --- a/SDWebImageWebPCoder/Classes/SDImageWebPCoder.m +++ b/SDWebImageWebPCoder/Classes/SDImageWebPCoder.m @@ -100,14 +100,6 @@ static CGSize SDCalculateThumbnailSize(CGSize fullSize, BOOL preserveAspectRatio return CGSizeMake(resultWidth, resultHeight); } -#ifndef SD_LOCK -#define SD_LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER); -#endif - -#ifndef SD_UNLOCK -#define SD_UNLOCK(lock) dispatch_semaphore_signal(lock); -#endif - @interface SDWebPCoderFrame : NSObject @property (nonatomic, assign) NSUInteger index; // Frame index (zero based)