Fix logically dead code 65/248665/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 1 Dec 2020 08:31:37 +0000 (17:31 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 1 Dec 2020 08:32:42 +0000 (17:32 +0900)
Change-Id: I7a92a05ae9e90f7c1b6a185cd9c7c88abbfe6e42

ism/modules/panelagent/wayland/isf_wsc_control_ui.cpp

index 48feebc..a7296f2 100644 (file)
@@ -123,7 +123,7 @@ void isf_wsc_context_input_panel_show (WSCContextISF* wsc_ctx)
     iseContext.layout = wsc_context_input_panel_layout_get (wsc_ctx);
 
     /* set angle*/
-    iseContext.angle = (wsc_ctx ? wsc_ctx->angle : 0);
+    iseContext.angle = wsc_ctx->angle;
 
     /* set layout variation in ise context info */
     iseContext.layout_variation = wsc_context_input_panel_layout_variation_get (wsc_ctx);