From 8949b785b59ab900399742880b5be7e64fe759b3 Mon Sep 17 00:00:00 2001 From: Junkyeong Kim Date: Fri, 21 Jul 2017 16:11:55 +0900 Subject: [PATCH] erase unused variables Change-Id: Ia2b388275dd8c254eb5554bb920a07584968e17f Signed-off-by: Junkyeong Kim --- src/bin/e_comp_wl_screenshooter.c | 16 ++++++---------- src/bin/e_info_server.c | 1 - 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/bin/e_comp_wl_screenshooter.c b/src/bin/e_comp_wl_screenshooter.c index da9a0631e5..760590221e 100644 --- a/src/bin/e_comp_wl_screenshooter.c +++ b/src/bin/e_comp_wl_screenshooter.c @@ -612,11 +612,7 @@ static void _e_tz_screenmirror_stillshot(E_Mirror_Buffer *buffer) { E_Mirror *mirror = buffer->mirror; - E_Comp_Wl_Video_Buf *ui, *dst; - tdm_error err = TDM_ERROR_NONE; - int count; - int i; - int rotate = 0; + E_Comp_Wl_Video_Buf *vbuf; if (buffer->vbuf->type == E_COMP_WL_VIDEO_BUF_TYPE_SHM) { @@ -626,15 +622,15 @@ _e_tz_screenmirror_stillshot(E_Mirror_Buffer *buffer) return; } - dst = buffer->tmp; + vbuf = buffer->tmp; } else - dst = buffer->vbuf; - EINA_SAFETY_ON_NULL_RETURN(dst); + vbuf = buffer->vbuf; + EINA_SAFETY_ON_NULL_RETURN(vbuf); - e_comp_wl_video_buffer_clear(dst); + e_comp_wl_video_buffer_clear(vbuf); - _e_tz_screenmirror_video_buffer_convert(mirror, dst); + _e_tz_screenmirror_video_buffer_convert(mirror, vbuf); if (buffer->vbuf->type == E_COMP_WL_VIDEO_BUF_TYPE_SHM) _e_tz_screenmirror_copy_tmp_buffer(buffer); diff --git a/src/bin/e_info_server.c b/src/bin/e_info_server.c index 26591030fe..975edbaa94 100644 --- a/src/bin/e_info_server.c +++ b/src/bin/e_info_server.c @@ -3653,7 +3653,6 @@ _e_info_server_cb_screen_dump(const Eldbus_Service_Interface *iface EINA_UNUSED, { Eldbus_Message *reply = eldbus_message_method_return_new(msg); const char *path = NULL; - tbm_error_e tbm_err = TBM_ERROR_NONE; tbm_surface_h surface = NULL; E_Output *eout = NULL; int w = 0, h = 0; -- 2.34.1