netstar pushed a commit to branch master.

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

commit cf3c7f3b3d62202ab1eb6ef5b8ff098e5f3ce5bf
Author: Alastair Poole <nets...@gmail.com>
Date:   Sat Mar 13 18:51:37 2021 +0000

    main: remove test code.
---
 src/bin/main.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 81bb40a..7906f59 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -87,16 +87,7 @@ elm_main(int argc, char **argv)
           if (action == EVISUM_ACTION_PROCESS)
             pid = atoi(argv[1]);
        }
-#if 0
-   int n;
-   net_iface_t **ifaces = system_network_ifaces_get(&n);
-   for (int i = 0; i < n; i++) {
-       printf("%s\n", ifaces[i]->name);
-       free(ifaces[i]);
-   }
-   if (ifaces) free(ifaces);
-   exit(1);
-#endif
+
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 
 #if ENABLE_NLS

-- 


Reply via email to