tree-wide: fix the string concatenation warning with clang-12
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 8 Feb 2021 10:26:26 +0000 (11:26 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 8 Feb 2021 11:22:03 +0000 (12:22 +0100)
commit8762049792024df1be9f0b219438220bb9ee547d
tree702a7d23aea5658c8d3ac341b25375091cd1938c
parent19db2f42586f4d485f642609ed54a839034813ba
tree-wide: fix the string concatenation warning with clang-12

e.g.:
./src/shared/dissect-image.c:2218:39: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
                                      "/usr/lib/os-release\0",
                                      ^
../src/shared/dissect-image.c:2217:39: note: place parentheses around the string literal to silence warning
                [META_OS_RELEASE]   = "/etc/os-release\0"
                                      ^
1 error generated.

See: https://reviews.llvm.org/D85545
src/shared/dissect-image.c
src/xdg-autostart-generator/test-xdg-autostart.c