Remove unused variable 35/283935/1 accepted/tizen/unified/20221108.163902
authorArtur Świgoń <a.swigon@samsung.com>
Mon, 7 Nov 2022 10:26:27 +0000 (11:26 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Mon, 7 Nov 2022 10:27:48 +0000 (11:27 +0100)
This removes a compilation warning -- which, at the time of writing
(2022-11-07), was the only one in this repository.

Change-Id: I7c0ebee64d002d57f7237236b8f45b48bed2f4e1

src/screen_reader_system.c

index 7cfcbcf3256990a5b38034a9122cc2b2ee1ff83a..5ef852245a3a1a484e973f3c7d608ebd0389d1bf 100644 (file)
@@ -203,8 +203,7 @@ static void device_system_cb(device_callback_e type, void *value, void *user_dat
                                /* TODO: need to check if device_power_request_lock and device_power_release_lock
                                while turning off display affects or not. If it has a problem we need to use
                                following is_screen_turn_off, and above system_data->is_display_state_screen_off */
-                               Read_Command *rc = NULL;
-                               rc = tw_speak(_("IDS_GCTS_OPT_SCREEN_TURNED_OFF_TTS"), EINA_FALSE);
+                               tw_speak(_("IDS_GCTS_OPT_SCREEN_TURNED_OFF_TTS"), EINA_FALSE);
                        }
                } else {
                        system_data->is_display_state_screen_off = EINA_FALSE;