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]

It's quite obvious issue in unit tests, thus I'm going to push it.

Martin

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 f76e094bc63..c39c5073a26 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.30.1

Reply via email to