Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 711faf5dfd31df82254c0537e0f96261856c449b Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Sat, 13 Mar 2021 22:44:51 +0000
>Subject: [PATCH] nntp.c: remove repeated declaration of "*temp_directory"

nntp.c:123:32: warning: redundant redeclaration of 'tmp_directory' 
[-Wredundant-decls]
  123 | extern char    *db_directory, *tmp_directory, *news_active;
      |                                ^~~~~~~~~~~~~
In file included from nntp.c:36:
global.h:292:17: note: previous declaration of 'tmp_directory' was here
  292 | extern char    *tmp_directory;
      |                 ^~~~~~~~~~~~~

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 nntp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nntp.c b/nntp.c
index 54785e8..a320df4 100644
--- a/nntp.c
+++ b/nntp.c
@@ -120,7 +120,7 @@ static int      sort_art_list(register article_number * f1, 
register article_num
 static char    *strdup(char *);
 #endif                         /* NeXT */
 
-extern char    *db_directory, *tmp_directory, *news_active;
+extern char    *db_directory, *news_active;
 extern char     delayed_msg[];
 
 static char     host_name[MAXHOSTNAMELEN];
-- 
2.30.1



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.19-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to