summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-09-20 06:26:05 -0400
committerChris Michael <cp.michael@samsung.com>2017-09-20 06:26:05 -0400
commitb1d831c5525e47a849fcfaa361dc510567849d5c (patch)
treeccf5fedf10078e3bf862d8836577c0c58a4fd3a4
parent2510f68ff3b71d91941cfd44cf80b17bcbe0ac70 (diff)
evas-drm: Fix uninitialized variables
Small patch to fix Coverity reported issues of uninitialized variables Fixes CID1381306, CID1381305, CID1381304, CID1381303 Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/evas/engines/drm/evas_outbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/drm/evas_outbuf.c b/src/modules/evas/engines/drm/evas_outbuf.c
index f78d8e1658..987ff298e1 100644
--- a/src/modules/evas/engines/drm/evas_outbuf.c
+++ b/src/modules/evas/engines/drm/evas_outbuf.c
@@ -63,7 +63,7 @@ _outbuf_setup(Evas_Engine_Info_Drm *info, int w, int h)
63{ 63{
64 Outbuf *ob; 64 Outbuf *ob;
65 char *num; 65 char *num;
66 int i = 0, fw, fh; 66 int i = 0, fw = 0, fh = 0;
67 67
68 ob = calloc(1, sizeof(Outbuf)); 68 ob = calloc(1, sizeof(Outbuf));
69 if (!ob) return NULL; 69 if (!ob) return NULL;
@@ -159,7 +159,7 @@ _outbuf_rotation_get(Outbuf *ob)
159void 159void
160_outbuf_reconfigure(Outbuf *ob, int w, int h, int rotation, Outbuf_Depth depth) 160_outbuf_reconfigure(Outbuf *ob, int w, int h, int rotation, Outbuf_Depth depth)
161{ 161{
162 int i = 0, fw, fh; 162 int i = 0, fw = 0, fh = 0;
163 unsigned int format = DRM_FORMAT_ARGB8888; 163 unsigned int format = DRM_FORMAT_ARGB8888;
164 164
165 switch (depth) 165 switch (depth)