Passify a new clang warning. #6

Merged
gavin merged 2 commits from brooksdavis/bc:bugprone-suspicious-missing-comma into master 2 years ago

Clang 12 warns about certain cases of string concatenation in array
initialization. Adding parentheses siliences this warning.

Clang 12 warns about certain cases of string concatenation in array initialization. Adding parentheses siliences this warning.
Poster

I encountered this compiling FreeBSD-CURRENT with the latest llvm-devel port (a snapshot dated 2020-09-25).

I encountered this compiling FreeBSD-CURRENT with the latest llvm-devel port (a snapshot dated 2020-09-25).
gavin merged commit 07f80644dd into master 2 years ago
Owner

Thank you very much. And thanks for reporting it to FreeBSD also; the package maintainer over there and I were in contact.

Thank you very much. And thanks for reporting it to FreeBSD also; the package maintainer over there and I were in contact.
The pull request has been merged as 07f80644dd.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.