netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=a086c779acf53af20fe80b41fd364edb7284af4c

commit a086c779acf53af20fe80b41fd364edb7284af4c
Author: Alastair Poole <nets...@gmail.com>
Date:   Mon May 11 22:51:36 2020 +0100

    ui: trimming.
    
    Nothing of any significance.
---
 src/bin/ui.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/bin/ui.c b/src/bin/ui.c
index 2753dc5..195012d 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -1140,9 +1140,7 @@ static void
 _process_list(void *data, Ecore_Thread *thread)
 {
    Ui *ui;
-   int delay;
-
-   delay = 1;
+   int delay = 1;
 
    ui = data;
 
@@ -1161,10 +1159,7 @@ _process_list(void *data, Ecore_Thread *thread)
              usleep(250000);
           }
         ui->ready = EINA_TRUE;
-        if (ui->ready)
-          {
-             delay = ui->poll_delay;
-          }
+        delay = ui->poll_delay;
      }
 }
 

-- 


Reply via email to