Skip to content

Commit 87551c2

Browse files
authored
Remove the unused define
Code typo fix
1 parent 95a6838 commit 87551c2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

SDWebImageWebPCoder/Classes/SDImageWebPCoder.m

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,6 @@ static CGSize SDCalculateThumbnailSize(CGSize fullSize, BOOL preserveAspectRatio
100100
return CGSizeMake(resultWidth, resultHeight);
101101
}
102102

103-
#ifndef SD_LOCK
104-
#define SD_LOCK(lock) dispatch_semaphore_wait(lock, DISPATCH_TIME_FOREVER);
105-
#endif
106-
107-
#ifndef SD_UNLOCK
108-
#define SD_UNLOCK(lock) dispatch_semaphore_signal(lock);
109-
#endif
110-
111103
@interface SDWebPCoderFrame : NSObject
112104

113105
@property (nonatomic, assign) NSUInteger index; // Frame index (zero based)

0 commit comments

Comments
 (0)