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:
9fa3582
)
Eo: Fixed unused warnings when have EO_ID.
author
Tom Hacohen
<tom@stosb.com>
Wed, 25 Sep 2013 16:48:42 +0000
(17:48 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Fri, 27 Sep 2013 13:01:47 +0000
(14:01 +0100)
src/lib/eo/eo.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo.c
b/src/lib/eo/eo.c
index
303a65c
..
eed7a8c
100644
(file)
--- a/
src/lib/eo/eo.c
+++ b/
src/lib/eo/eo.c
@@
-898,7
+898,7
@@
eo_class_new(const Eo_Class_Description *desc, const Eo *parent_id, ...)
}
#ifdef HAVE_EO_ID
-
hndl = NULL
;
+
(void) hndl
;
klass = calloc(1, _eo_class_sz + extn_sz + mro_sz + mixins_sz);
#else
hndl = calloc(1, _eo_handle_sz + _eo_class_sz + extn_sz + mro_sz + mixins_sz);
@@
-1097,7
+1097,7
@@
eo_add_internal(const char *file, int line, const Eo *klass_id, Eo *parent_id, .
else
{
#ifdef HAVE_EO_ID
-
hndl = NULL
;
+
(void) hndl
;
obj = calloc(1, klass->obj_size);
#else
hndl = calloc(1, klass->obj_size);