#983132 answer.c: add missing braces around initializer

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-02-19 21:09:03 UTC
Severity:
normal
Tags:
#983132#5
Date:
2021-02-19 21:07:18 UTC
From:
To:
Dear Maintainer,

  Warning from the compiler:

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

Signed-off-by: Bjarni Ingi Gislason <bjarniig@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