projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de6f57f
)
Eo: Don't compare desc to NULL as it can never be NULL at that stage.
author
Tom Hacohen
<tom@stosb.com>
Mon, 30 Sep 2013 13:32:47 +0000
(14:32 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Mon, 30 Sep 2013 13:32:47 +0000
(14:32 +0100)
Fixes coverity CID1039420.
src/lib/eo/eo.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo.c
b/src/lib/eo/eo.c
index b838bb328bde6a7aa6c9da152cda829b226d4afe..b15bd8440450129d0c9dc72d01bf8229feb4b8fa 100644
(file)
--- 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;