e_input_evdev: fix a svace issue 89/224289/1 accepted/tizen/5.5/unified/20200210.131628 submit/tizen_5.5/20200207.110937
authorjeon <jhyuni.kang@samsung.com>
Fri, 7 Feb 2020 11:08:23 +0000 (20:08 +0900)
committerjeon <jhyuni.kang@samsung.com>
Fri, 7 Feb 2020 11:08:23 +0000 (20:08 +0900)
Change-Id: I1125aa201e1230adcb253a9a7c0af024cc932e17

src/bin/e_input_evdev.c

index 1919fc34d9d781ce8cc27ed2a426c86db2f2ae60..3e59da4ad0fd11a8d956840a01fd0cd7a025c351 100644 (file)
@@ -1294,7 +1294,7 @@ _device_handle_touch_aux_data(struct libinput_device *device, struct libinput_ev
 
    comp_conf = e_comp_config_get();
    if (comp_conf && comp_conf->input_log_enable)
-     ELOGF("Touch", "Axis (label: %d, value: %lf)", NULL, axis->label, axis->value);
+     ELOGF("Touch", "Axis (label: %d, value: %lf)", NULL, axis?axis->label:-1, axis?axis->value:0.0);
 
    ecore_event_add(ECORE_EVENT_AXIS_UPDATE, ev, _e_input_aux_data_event_free, NULL);