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

Dear Maintainer,

>From 50f9f863d2645390801d833b8ccf5c1dc5cd4b3b Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Fri, 19 Feb 2021 20:56:06 +0000
>Subject: [PATCH] answer.c: add missing braces around initializer

  Warning from the compiler:

answer.c:797:1: warning: missing braces around initializer [-Wmissing-braces]

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 answer.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/answer.c b/answer.c
index 4061fff..69330ce 100644
--- a/answer.c
+++ b/answer.c
@@ -795,13 +795,13 @@ static char    *post_to_groups = NULL;
 static
 Option_Description(post_options)
 {
-    'd', String_Option(post_distribution),
-    'f', String_Option(post_source_file),
-    'k', String_Option(post_keywords),
-    's', String_Option(post_subject),
-    'y', String_Option(post_summary),
-    'p', Bool_Option(post_no_edit),
-    '\0', 0,
+    {'d', String_Option(post_distribution)},
+    {'f', String_Option(post_source_file)},
+    {'k', String_Option(post_keywords)},
+    {'s', String_Option(post_subject)},
+    {'y', String_Option(post_summary)},
+    {'p', Bool_Option(post_no_edit)},
+    {'\0', 0},
 };
 
 void
-- 
2.30.0



-- 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