fixed warnings. 54/74554/1
authorGwanglim Lee <gl77.lee@samsung.com>
Tue, 14 Jun 2016 13:02:09 +0000 (22:02 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 14 Jun 2016 13:02:09 +0000 (22:02 +0900)
Change-Id: Ic1972d88483870e39e4e051c97ae518eeda255d8

src/bin/e_comp_wl.c
src/bin/e_info_client.c

index 8a208b5..5378f16 100644 (file)
@@ -3268,7 +3268,12 @@ _e_comp_wl_subsurface_commit_to_cache(E_Client *ec)
    eina_iterator_free(itr);
 
    EINA_LIST_FOREACH_SAFE(cdata->pending.frames, l, ll, cb)
-     eina_list_move_list(&sdata->cached.frames, &cdata->pending.frames, l);
+     {
+        if (cb)
+          eina_list_move_list(&sdata->cached.frames,
+                              &cdata->pending.frames,
+                              l);
+     }
 
    sdata->cached.has_data = EINA_TRUE;
 }
index d909659..f7d489b 100644 (file)
@@ -286,7 +286,6 @@ _e_info_client_proc_protocol_trace(int argc, char **argv)
 {
    char fd_name[PATH_MAX];
    int pid;
-   Eina_Bool disable = EINA_FALSE;
    char cwd[PATH_MAX];
 
    if (argc != 3 || !argv[2])