tasn pushed a commit to branch master.

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

commit baf0fc426846743faef4165786a7e589b9c90347
Author: Tom Hacohen <[email protected]>
Date:   Mon Sep 30 14:32:47 2013 +0100

    Eo: Don't compare desc to NULL as it can never be NULL at that stage.
    
    Fixes coverity CID1039420.
---
 src/lib/eo/eo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index b838bb3..b15bd84 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -496,7 +496,7 @@ _eo_class_base_op_init(_Eo_Class *klass)
 
    klass->base_id = _eo_ops_last_id;
 
-   if (desc && desc->ops.base_op_id)
+   if (desc->ops.base_op_id)
       *(desc->ops.base_op_id) = klass->base_id;
 
    _eo_ops_last_id += desc->ops.count + 1;

-- 


Reply via email to