From b516a15371503bae35f2a1c7bc5d7e0c503eefdd Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 15 Mar 2021 09:27:32 +0100 Subject: [PATCH] Fix -Wstring-concatenation warning. Fix the following clang warning: gcc/spellcheck.c:477:3: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation] gcc/ChangeLog: * spellcheck.c: Add missing comma in initialization. --- gcc/spellcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/spellcheck.c b/gcc/spellcheck.c index f76e094..c39c507 100644 --- a/gcc/spellcheck.c +++ b/gcc/spellcheck.c @@ -473,7 +473,7 @@ static const char * const test_data[] = { "foo", "food", "boo", - "1234567890123456789012345678901234567890123456789012345678901234567890" + "1234567890123456789012345678901234567890123456789012345678901234567890", "abc", "ac", "ca", -- 2.7.4