Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dsme] Work around snprintf() warnings. Contributes to JB#46923
Attmpting to build dsme with gcc 8.x toolchain result in multiple snprintf() related warnings. Go through code that is triggering warnings and depending on situation: - Adjust buffer sizes when applicable - Check for failure/truncated and take sensible action - Refactor the offending logic, or - Silence warnings by using dummy return value check Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
6 changed files
with
138 additions
and
111 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
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
Oops, something went wrong.