diff options
author | Jacob Moody <moody@posixcafe.org> | 2023-03-16 05:16:17 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2023-03-16 05:16:17 +0000 |
commit | f40225e86cf4b92cab975d9121ff06ed5cfe9d91 (patch) | |
tree | 2570c74b9dea2a44b0a9b6c57c81a9a56e5b0802 /sys/src/cmd | |
parent | 125ca8ddfee1da241d86f82439e24467b25b310a (diff) |
auth/none, mothra, news, libttf: unused variable removal
Diffstat (limited to 'sys/src/cmd')
-rw-r--r-- | sys/src/cmd/auth/none.c | 2 | ||||
-rw-r--r-- | sys/src/cmd/mothra/snoop.c | 1 | ||||
-rw-r--r-- | sys/src/cmd/news.c | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/sys/src/cmd/auth/none.c b/sys/src/cmd/auth/none.c index 42c264b42..01822b6aa 100644 --- a/sys/src/cmd/auth/none.c +++ b/sys/src/cmd/auth/none.c @@ -30,8 +30,6 @@ run(char **a) void main(int argc, char *argv[]) { - int fd; - ARGBEGIN{ case 'd': newnsdebug = 1; diff --git a/sys/src/cmd/mothra/snoop.c b/sys/src/cmd/mothra/snoop.c index 833141544..dada8bdc5 100644 --- a/sys/src/cmd/mothra/snoop.c +++ b/sys/src/cmd/mothra/snoop.c @@ -124,7 +124,6 @@ int snooptype(int fd) { char buf[128]; - int i; if(filetype(fd, buf, sizeof(buf)) < 0) return -1; diff --git a/sys/src/cmd/news.c b/sys/src/cmd/news.c index ef601172c..e64d397ce 100644 --- a/sys/src/cmd/news.c +++ b/sys/src/cmd/news.c @@ -44,7 +44,7 @@ void note(char *s); void main(int argc, char *argv[]) { - int i, aflag = 0, nflag = 0; + int i; int doupdate = 1; int printall = 0; void (*printer)(char*) = print_item; |