main: remove test code.

This commit is contained in:
Alastair Poole 2021-03-13 18:51:37 +00:00
parent 0a8b5f503d
commit cf3c7f3b3d
1 changed files with 1 additions and 10 deletions

View File

@ -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