stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9434c0992cbdca54e434a431234e256678b80291

commit 9434c0992cbdca54e434a431234e256678b80291
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Tue Jun 9 10:18:02 2015 +0200

    evas/evas_op_add_main: Remove superfluous if branch.
    
    We do the same in both branches: return func.
    
    CID: 1267478, 1267480, 1267482, 1267486
---
 src/lib/evas/common/evas_op_add_main_.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/evas/common/evas_op_add_main_.c 
b/src/lib/evas/common/evas_op_add_main_.c
index 19bb88e..3a5b649 100644
--- a/src/lib/evas/common/evas_op_add_main_.c
+++ b/src/lib/evas/common/evas_op_add_main_.c
@@ -136,7 +136,6 @@ add_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_add_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -229,7 +228,6 @@ add_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_add_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -360,7 +358,6 @@ add_rel_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_add_rel_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -453,7 +450,6 @@ add_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_add_rel_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 

-- 


Reply via email to