-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use (void)var to mark var as used, instead of var = var. The intent of the self assignment was to avoid a warning, but it ends up invoking a different warning. Turn off security warnings for a potentially mutable string being given as the format string to sprintf(). Though only on macosx unix targets. All of the strings provided are in fact not mutable, but this fact is hidden from the compiler due to the strings being extern in a different object file.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 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
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