stefan pushed a commit to branch master.

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

commit 64a60f32a93840b5032b416d8371913e66240981
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Tue Jun 9 10:06:27 2015 +0200

    evas/evas_op_copy_main: Remove superfluous if branch.
    
    We do the same in both branches: return func.
    
    CID: 1267483, 1267484, 1267487, 1267488
---
 src/lib/evas/common/evas_op_copy_main_.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/evas/common/evas_op_copy_main_.c 
b/src/lib/evas/common/evas_op_copy_main_.c
index 16fc3f1..51428ed 100644
--- a/src/lib/evas/common/evas_op_copy_main_.c
+++ b/src/lib/evas/common/evas_op_copy_main_.c
@@ -173,7 +173,6 @@ copy_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_copy_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -278,7 +277,6 @@ copy_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_copy_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -433,7 +431,6 @@ copy_rel_gfx_span_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_copy_rel_span_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 
@@ -538,7 +535,6 @@ copy_rel_gfx_pt_func_cpu(int s, int m, int c, int d)
 #endif
    cpu = CPU_C;
    func = op_copy_rel_pt_funcs[s][m][c][d][cpu];
-   if (func) return func;
    return func;
 }
 

-- 


Reply via email to