-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a clang warning for suspicious string concatentation. (#1101)
clang warns when strings are concatenated within array declarations; this can help to catch bugs. However, in the cases here we actually mean to do string concatenation. Signal this to the compiler by making a separate variable where we do the concatenation, which quiets the clang warning and should have no effect on operation. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
020ed0e
commit feb775a
Showing
1 changed file
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters