From: Timo Sirainen Date: Thu, 29 Oct 2020 10:34:57 +0000 (+0200) Subject: lib-fts: test-fts-filter - Fix clang suspicious concatenation of string literals... X-Git-Tag: 2.3.13~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=28301c44d0b867082c2414ceb00ed23ed603ffc6;p=thirdparty%2Fdovecot%2Fcore.git lib-fts: test-fts-filter - Fix clang suspicious concatenation of string literals warning Fixes: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation] --- diff --git a/src/lib-fts/test-fts-filter.c b/src/lib-fts/test-fts-filter.c index 84bf90bfb1..f93cc7401a 100644 --- a/src/lib-fts/test-fts-filter.c +++ b/src/lib-fts/test-fts-filter.c @@ -515,8 +515,8 @@ static void test_fts_filter_normalizer_swedish_short(void) "Vem", "\xC3\x85", "\xC3\x85\xC3\x84\xC3\x96", - "Vem kan segla f\xC3\xB6rutan vind?\n" - "\xC3\x85\xC3\x84\xC3\x96\xC3\xB6\xC3\xA4\xC3\xA5" + ("Vem kan segla f\xC3\xB6rutan vind?\n" + "\xC3\x85\xC3\x84\xC3\x96\xC3\xB6\xC3\xA4\xC3\xA5") }; const char *expected_output[] = { "vem", @@ -550,8 +550,8 @@ static void test_fts_filter_normalizer_swedish_short_default_id(void) "Vem", "\xC3\x85", "\xC3\x85\xC3\x84\xC3\x96", - "Vem kan segla f\xC3\xB6rutan vind?\n" - "\xC3\x85\xC3\x84\xC3\x96\xC3\xB6\xC3\xA4\xC3\xA5" + ("Vem kan segla f\xC3\xB6rutan vind?\n" + "\xC3\x85\xC3\x84\xC3\x96\xC3\xB6\xC3\xA4\xC3\xA5") }; const char *expected_output[] = { "vem",