remove unused variables - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit 88d7f160cb44cdb08634b034b23d2f2d640bf7fd
DIR parent 5b8bd6016a9bc52b643e55335b46de1aaeae2940
HTML 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
@@ -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
@@ -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
@@ -173,7 +173,6 @@ uidisplay(Item *entry)
void
printuri(Item *item, size_t i)
{
- char *fmt;
int n;
if (!item)