e_input: recover removed variables and put them into the right place (inside #ifdef... 88/163088/2
authorSung-Jin Park <sj76.park@samsung.com>
Thu, 7 Dec 2017 06:47:31 +0000 (15:47 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 7 Dec 2017 06:48:56 +0000 (06:48 +0000)
Change-Id: I3943fad582214a132afca68d8561539c8d24c5d0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/bin/e_input_evdev.c

index 873453a..26bb651 100644 (file)
@@ -43,6 +43,11 @@ _device_calibration_set(E_Input_Evdev *edev)
 
 //LCOV_EXCL_START
 #ifdef _F_E_INPUT_ENABLE_DEVICE_CALIBRATION_
+   const char *sysname;
+   float cal[6];
+   const char *device;
+   Eina_List *devices;
+
    if ((!libinput_device_config_calibration_has_matrix(edev->device)) ||
        (libinput_device_config_calibration_get_default_matrix(edev->device, cal) != 0))
      return;
@@ -53,6 +58,9 @@ _device_calibration_set(E_Input_Evdev *edev)
    if (eina_list_count(devices) < 1) return;
 
 #ifdef _F_E_INPUT_USE_WL_CALIBRATION_
+   const char *vals;
+   enum libinput_config_status status;
+
    EINA_LIST_FREE(devices, device)
      {
         vals = eeze_udev_syspath_get_property(device, "WL_CALIBRATION");