initialize pixmap size vars in comp resize interceptor
authorMike Blumenkrantz <zmike@osg.samsung.com>
Sat, 26 Sep 2015 01:32:08 +0000 (21:32 -0400)
committerMike 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

index 173cbe1..60033a2 100644 (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