stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9df111d7661b7406e89780164900385b9ca77a62

commit 9df111d7661b7406e89780164900385b9ca77a62
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Tue Jun 9 10:10:35 2015 +0200

    evas/evas_op_mask_main: Remove superfluous if branch.
    
    We do the same in both branches: return func.
    
    CID: 1267481, 1267485
---
 src/lib/evas/common/evas_op_mask_main_.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/evas/common/evas_op_mask_main_.c 
b/src/lib/evas/common/evas_op_mask_main_.c
index 0304d72..cf5c131 100644
--- a/src/lib/evas/common/evas_op_mask_main_.c
+++ b/src/lib/evas/common/evas_op_mask_main_.c
@@ -104,7 +104,6 @@ mask_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_mask_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -201,7 +200,6 @@ mask_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_mask_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 

-- 


Reply via email to