From 070cbc63ee817b6b8c52a091349ba2b89d17ca28 Mon Sep 17 00:00:00 2001 From: sukeban Date: Mon, 25 Jan 2016 14:27:41 -0800 Subject: [PATCH] Add braces --- SDWebImage/UIImage+GIF.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SDWebImage/UIImage+GIF.m b/SDWebImage/UIImage+GIF.m index e6d8577d..bf74a367 100755 --- a/SDWebImage/UIImage+GIF.m +++ b/SDWebImage/UIImage+GIF.m @@ -32,8 +32,9 @@ for (size_t i = 0; i < count; i++) { CGImageRef image = CGImageSourceCreateImageAtIndex(source, i, NULL); - if (!image) + if (!image) { continue; + } duration += [self sd_frameDurationAtIndex:i source:source];