e_devicemgr: use different Eina_List variable for nested for-loop 41/284141/1 accepted/tizen/unified/20221115.022422
authorduna.oh <duna.oh@samsung.com>
Thu, 10 Nov 2022 06:36:55 +0000 (15:36 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 10 Nov 2022 09:43:41 +0000 (18:43 +0900)
Change-Id: Iff0453d310d2e84ce01e8583e82046c99c326521

src/bin/e_devicemgr_wl.c

index 14af373..f459cc9 100644 (file)
@@ -578,7 +578,7 @@ static void
 _e_devicemgr_wl_cb_bind(struct wl_client *client, void *data, uint32_t version, uint32_t id)
 {
    struct wl_resource *res, *seat_res, *device_res;
-   Eina_List *l;
+   Eina_List *l, *ll;
    uint32_t serial;
    E_Devicemgr_Input_Device *dev;
    struct wl_array axes;
@@ -638,7 +638,7 @@ _e_devicemgr_wl_cb_bind(struct wl_client *client, void *data, uint32_t version,
              e_devicemgr_wl_touch_max_count_send(e_devicemgr->max_touch_count, res, seat_res);
           }
 
-        EINA_LIST_FOREACH(e_devicemgr->device_list, l, dev)
+        EINA_LIST_FOREACH(e_devicemgr->device_list, ll, dev)
           {
              device_res = wl_resource_create(client, &tizen_input_device_interface, 1, 0);
              if (!device_res)