Small patch to fix Coverity reported issues of uninitialized variables
Fixes CID1381306, CID1381305, CID1381304, CID1381303
Signed-off-by: Chris Michael <cp.michael@samsung.com>
{
Outbuf *ob;
char *num;
- int i = 0, fw, fh;
+ int i = 0, fw = 0, fh = 0;
ob = calloc(1, sizeof(Outbuf));
if (!ob) return NULL;
void
_outbuf_reconfigure(Outbuf *ob, int w, int h, int rotation, Outbuf_Depth depth)
{
- int i = 0, fw, fh;
+ int i = 0, fw = 0, fh = 0;
unsigned int format = DRM_FORMAT_ARGB8888;
switch (depth)