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

Dear Maintainer,

>From 9148e0fdf7fde8c18e79cd8b4a6268d5c2e05027 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Sat, 27 Feb 2021 18:32:15 +0000
>Subject: [PATCH] aux.c: remove leftover '+' in column 1; add block delimiters
> around an if-block

  aux.c: remove leftover '+' in column 1; add block delimiters

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 aux.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/aux.c b/aux.c
index 5ce9271..2aa9402 100644
--- a/aux.c
+++ b/aux.c
@@ -467,16 +467,17 @@ aux_sh(article_header * ah, char *script, char *prog, 
char *action, char *record
                    unlink(copy);
                    return (22);
                }
-               if (empty_answer_check)
+               if (empty_answer_check) {
                    if (cmp_file(temp_file, copy) != 1) {
                        snprintf(delayed_msg, ndelayed_msg, sent_fmt, " not");
                        unlink(temp_file);
                        unlink(copy);
                        return (22);
                    }
-+/*
-+ aux.c:...: warning: the address of 'lookfor' will always evaluate as 'true'
-+*/
+               }
+/*
+ aux.c:...: warning: the address of 'lookfor' will always evaluate as 'true'
+*/
 /*             if (lookfor); */        /* grep for lookfor */
 
                break;
-- 
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.9-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