stefan pushed a commit to branch master.

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

commit 85e5e9da5be9846c5f1b1d62ca8246abffeebe38
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Tue Jun 9 09:56:18 2015 +0200

    evas/evas_op_sub_main: Remove superfluous if branch.
    
    We do the same in both branches: return func.
    
    CID: 1267476, 1267477, 1267479, 1267489
---
 src/lib/evas/common/evas_op_sub_main_.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/evas/common/evas_op_sub_main_.c 
b/src/lib/evas/common/evas_op_sub_main_.c
index cd26e91..c6cbe07 100644
--- a/src/lib/evas/common/evas_op_sub_main_.c
+++ b/src/lib/evas/common/evas_op_sub_main_.c
@@ -137,7 +137,6 @@ sub_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_sub_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -230,7 +229,6 @@ sub_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_sub_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -361,7 +359,6 @@ sub_rel_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_sub_rel_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -454,7 +451,6 @@ sub_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_sub_rel_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 

-- 


Reply via email to