Use fprintf with proper format template
This fixes an issue where GCC will warn about `format-nonliteral`, which can break compilation.
This commit is contained in:
parent
c818ddc200
commit
c566c373e5
@ -110,7 +110,7 @@ void displayRoundNumber(int level, unsigned int i)
|
||||
void displayText(int level, const char *text)
|
||||
{
|
||||
if ((intermediateValueFile) && (level <= displayLevel)) {
|
||||
fprintf(intermediateValueFile, text);
|
||||
fprintf(intermediateValueFile, "%s", text);
|
||||
fprintf(intermediateValueFile, "\n");
|
||||
fprintf(intermediateValueFile, "\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user