projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec7752c
)
initialize pixmap size vars in comp resize interceptor
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Sat, 26 Sep 2015 01:32:08 +0000
(21:32 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Sat, 26 Sep 2015 01:57:25 +0000
(21:57 -0400)
these are never uninitialized when they are used, but this
is not obvious to the reader
CID 1324956, 1324956
src/bin/e_comp_object.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_object.c
b/src/bin/e_comp_object.c
index
173cbe1
..
60033a2
100644
(file)
--- a/
src/bin/e_comp_object.c
+++ b/
src/bin/e_comp_object.c
@@
-978,7
+978,7
@@
static void
_e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
{
E_Comp_Object *cw = data;
- int pw
, ph
, fw, fh, iw, ih, prev_w, prev_h;
+ int pw
= 0, ph = 0
, fw, fh, iw, ih, prev_w, prev_h;
/* if frame_object does not exist, client_inset indicates CSD.
* this means that ec->client matches cw->w/h, the opposite