tremove unused variables - sacc - sacc(omys), simple console gopher client (mirror) (HTM) git clone https://git.parazyd.org/sacc (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 88d7f160cb44cdb08634b034b23d2f2d640bf7fd (DIR) parent 5b8bd6016a9bc52b643e55335b46de1aaeae2940 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 2 Nov 2019 14:59:59 +0100 remove unused variables found by cppcheck Diffstat: M sacc.c | 2 +- M ui_ti.c | 1 - M ui_txt.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) --- (DIR) diff --git a/sacc.c b/sacc.c t@@ -628,7 +628,7 @@ plumbitem(Item *item) { char *file, *path, *tag; mode_t mode = S_IRUSR|S_IWUSR|S_IRGRP; - int n, dest, plumbitem; + int dest, plumbitem; if (file = strrchr(item->selector, '/')) ++file; (DIR) diff --git a/ui_ti.c b/ui_ti.c t@@ -194,7 +194,6 @@ displaystatus(Item *item) static void displayuri(Item *item) { - char *fmt; size_t n; if (item->type == 0 || item->type == 'i') (DIR) diff --git a/ui_txt.c b/ui_txt.c t@@ -173,7 +173,6 @@ uidisplay(Item *entry) void printuri(Item *item, size_t i) { - char *fmt; int n; if (!item)