initialize pixmap size vars in comp resize interceptor

these are never uninitialized when they are used, but this
is not obvious to the reader

CID 1324956, 1324956
This commit is contained in:
Mike Blumenkrantz 2015-09-25 21:32:08 -04:00
parent ec7752cc90
commit 80a9240e7a
1 changed files with 1 additions and 1 deletions

View File

@ -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