Fix format string warnings (gcc) by using string literals.
gcc 4.6 was giving warnings like this: "warning: format not a string literal and no format arguments [-Wformat-security]"
This commit is contained in:
@@ -156,7 +156,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
|
||||
if(result)
|
||||
return result;
|
||||
else
|
||||
modifier_setError(md, TIP_("Can't execute boolean operation."));
|
||||
modifier_setError(md, "%s", TIP_("Can't execute boolean operation."));
|
||||
}
|
||||
|
||||
return derivedData;
|
||||
|
Reference in New Issue
Block a user