Passify a new clang warning. #6

Merged
gavin merged 2 commits from brooksdavis/bc:bugprone-suspicious-missing-comma into master 2020-09-30 07:32:17 -06:00
Contributor

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.
Author
Contributor

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 2020-09-30 07:32:17 -06:00
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.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gavin/bc#6
No description provided.