diff options
author | Ali H. Fardan <raiz@firemail.cc> | 2016-08-21 15:43:57 +0300 |
---|---|---|
committer | Ali H. Fardan <raiz@firemail.cc> | 2016-08-21 15:43:57 +0300 |
commit | 6f31ca6ce3ea722c7d1ecfe2099108133ce4215c (patch) | |
tree | 97d413f6c36c09553f77a3653d0726ca3fda6da1 /slstatus.c | |
parent | 8e039b9dd2a7079d2b80a244d753eecf2feaa954 (diff) |
fixed compiler warnings in a better way
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -611,16 +611,6 @@ main(void) char *res, *element; struct arg argument; - /* get rid of unused functions warning */ - if (0) { setstatus(""); battery_perc(""); cpu_perc(); - datetime(""); disk_free(""); disk_perc(""); - disk_total(""); disk_used(""); entropy(); - gid(); hostname(); ip(""); load_avg(); - ram_free(); ram_perc(); ram_used(); ram_total(); - run_command(""); temp(""); uid(); uptime(); - username(); vol_perc(""); wifi_perc(""); - wifi_essid(""); } - if (!(dpy = XOpenDisplay(0x0))) { fprintf(stderr, "Cannot open display!\n"); exit(1); |