stefan pushed a commit to branch master.

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

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

    evas/evas_op_blend_main: Remove superfluous if branch.
    
    We do the same in both branches: return func.
    
    CID: 1267469, 1267470, 1267473, 1267474
---
 src/lib/evas/common/evas_op_blend_main_.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/evas/common/evas_op_blend_main_.c 
b/src/lib/evas/common/evas_op_blend_main_.c
index 33f7a7a..035f401 100644
--- a/src/lib/evas/common/evas_op_blend_main_.c
+++ b/src/lib/evas/common/evas_op_blend_main_.c
@@ -185,7 +185,6 @@ blend_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_blend_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -307,7 +306,6 @@ blend_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_blend_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -470,7 +468,6 @@ blend_rel_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_blend_rel_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -587,7 +584,6 @@ blend_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_blend_rel_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 

-- 


Reply via email to