You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/04/10 05:54:03 UTC

[13/15] incubator-weex git commit: * [ios] remove unused if

* [ios] remove unused if


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/99b83db4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/99b83db4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/99b83db4

Branch: refs/heads/0.12-dev
Commit: 99b83db46fd46f6adf0c4d7ba36caa70749dfef2
Parents: 4a7a54b
Author: \u9690\u98ce <cx...@apache.org>
Authored: Mon Apr 10 11:13:58 2017 +0800
Committer: \u9690\u98ce <cx...@apache.org>
Committed: Mon Apr 10 11:13:58 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Display/WXComponent+Display.m | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/99b83db4/ios/sdk/WeexSDK/Sources/Display/WXComponent+Display.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Display/WXComponent+Display.m b/ios/sdk/WeexSDK/Sources/Display/WXComponent+Display.m
index a02f53a..937339e 100644
--- a/ios/sdk/WeexSDK/Sources/Display/WXComponent+Display.m
+++ b/ios/sdk/WeexSDK/Sources/Display/WXComponent+Display.m
@@ -277,9 +277,6 @@
     
     if (shouldDisplay) {
         dispatch_block_t displayBlockToPush = ^{
-            if (!context) {
-                
-            }
             CGContextSaveGState(context);
             CGContextTranslateCTM(context, frame.origin.x, frame.origin.y);