Skip to content

fix 'format not a string literal' warning - #13048

Merged
remibettan merged 1 commit into
realsenseai:developmentfrom
maloel:fix-format
Jun 18, 2024
Merged

fix 'format not a string literal' warning#13048
remibettan merged 1 commit into
realsenseai:developmentfrom
maloel:fix-format

Conversation

@maloel

@maloel maloel commented Jun 18, 2024

Copy link
Copy Markdown
Contributor

PR #13041 introduced a line:

ImGui::Text( title );

Which is entirely valid and yet generates a warning:

warning: format not a string literal and no format arguments [-Wformat-security]

This fixes it.

@maloel
maloel requested a review from OhadMeir June 18, 2024 09:30

@remibettan remibettan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@remibettan
remibettan merged commit b528706 into realsenseai:development Jun 18, 2024
@maloel maloel added the bug label Jun 18, 2024
@maloel
maloel deleted the fix-format branch June 18, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants