This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.

View the commit online.

commit 313804edd741d75ab53539ef8f3152ec2ad5b7a3
Author: Alastair Poole <m...@alastairpoole.com>
AuthorDate: Mon Mar 17 23:23:31 2025 +0000

    bg: remove unused variable.
---
 README.md                              | 2 +-
 src/bin/background/evisum_background.c | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 071cde4..c6fd1ab 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/libdata/pkgconfig"
 Compile Evisum using `meson` and `ninja`:
 
 ```sh
-meson build
+meson setup build
 ninja -C build
 ```
 
diff --git a/src/bin/background/evisum_background.c b/src/bin/background/evisum_background.c
index 7292d30..eb6d0ef 100644
--- a/src/bin/background/evisum_background.c
+++ b/src/bin/background/evisum_background.c
@@ -17,7 +17,6 @@ void
 background_poller_cb(void *data, Ecore_Thread *thread)
 {
    meminfo_t memory;
-   uint32_t poll_count = 0;
    Evisum_Ui *ui = data;
 
    while (!ecore_thread_check(thread))
@@ -38,8 +37,6 @@ background_poller_cb(void *data, Ecore_Thread *thread)
           ui->mem_used += memory.zfs_arc_used;
 
         ui->cpu_usage = percent / system_cpu_online_count_get();
-
-        poll_count++;
      }
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to