瀏覽代碼

Removed two unused empty else clauses.

Luka Bratos 11 年之前
父節點
當前提交
c9c2922f25
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      UIKit+AFNetworking/UIButton+AFNetworking.m

+ 0 - 4
UIKit+AFNetworking/UIButton+AFNetworking.m

@@ -108,8 +108,6 @@ static char kAFBackgroundImageRequestOperationKey;
             } else if (responseObject) {
             } else if (responseObject) {
                 [strongSelf setImage:responseObject forState:state];
                 [strongSelf setImage:responseObject forState:state];
             }
             }
-        } else {
-
         }
         }
     } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
     } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
         if ([[urlRequest URL] isEqual:[operation.response URL]]) {
         if ([[urlRequest URL] isEqual:[operation.response URL]]) {
@@ -161,8 +159,6 @@ static char kAFBackgroundImageRequestOperationKey;
             } else if (responseObject) {
             } else if (responseObject) {
                 [strongSelf setBackgroundImage:responseObject forState:state];
                 [strongSelf setBackgroundImage:responseObject forState:state];
             }
             }
-        } else {
-
         }
         }
     } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
     } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
         if ([[urlRequest URL] isEqual:[operation.response URL]]) {
         if ([[urlRequest URL] isEqual:[operation.response URL]]) {