sacc

sacc(omys), simple console gopher client (mirror)
git clone https://git.parazyd.org/sacc
Log | Files | Refs | LICENSE

commit 88d7f160cb44cdb08634b034b23d2f2d640bf7fd
parent 5b8bd6016a9bc52b643e55335b46de1aaeae2940
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  2 Nov 2019 14:59:59 +0100

remove unused variables

found by cppcheck

Diffstat:
Msacc.c | 2+-
Mui_ti.c | 1-
Mui_txt.c | 1-
3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/sacc.c b/sacc.c @@ -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; diff --git a/ui_ti.c b/ui_ti.c @@ -194,7 +194,6 @@ displaystatus(Item *item) static void displayuri(Item *item) { - char *fmt; size_t n; if (item->type == 0 || item->type == 'i') diff --git a/ui_txt.c b/ui_txt.c @@ -173,7 +173,6 @@ uidisplay(Item *entry) void printuri(Item *item, size_t i) { - char *fmt; int n; if (!item)