Remove unused variable

This commit is contained in:
Rene Kita
2021-09-02 11:53:15 +02:00
parent dad5cbe83b
commit 916104b7f2
7 changed files with 8 additions and 22 deletions

3
news.c
View File

@@ -235,7 +235,6 @@ InputStream
openNewsStream(ParsedURL *pu)
{
char *host, *mode, *group, *p;
Str tmp;
int port, status;
if (pu->file == NULL || *pu->file == '\0')
@@ -262,7 +261,7 @@ openNewsStream(ParsedURL *pu)
mode = NULL;
if (current_news.host) {
if (!strcmp(current_news.host, host) && current_news.port == port) {
tmp = news_command(&current_news, "MODE", mode ? mode : "READER",
news_command(&current_news, "MODE", mode ? mode : "READER",
&status);
if (status != 200 && status != 201)
news_close(&current_news);