Commit 277772d
committed
bmake: Fix -Wunterminated-string-initialization
Summary:
This is not used as a string, don't warn about missing NUL terminator.
Silence -Wunterminated-string-initialization warning by adding 1 to
size. We can't use __nonstring unconditionally in bmake since the bmake
bootstrap headers don't define it.
MFC after: 1 week
Test Plan: compiles with clang HEAD
Reviewers: sjg
Subscribers: imp
Differential Revision: https://reviews.freebsd.org/D525631 parent 8b205e8 commit 277772d
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1866 | 1866 | | |
1867 | 1867 | | |
1868 | 1868 | | |
1869 | | - | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
1870 | 1876 | | |
1871 | 1877 | | |
1872 | 1878 | | |
| |||
0 commit comments