Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-03-20 01:38:35 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-03-20 01:38:35 +0400
commit9beef61199f4664b80f9e36617873bff7a6bb5ec (patch)
tree84f5e70e0949bb055bc98d012495f71af66fc1f4 /source/blender/modifiers/intern/MOD_boolean.c
parentd91deb9e97d38fe3d2220255bbbc72ee1eee1124 (diff)
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]"
Diffstat (limited to 'source/blender/modifiers/intern/MOD_boolean.c')
-rw-r--r--source/blender/modifiers/intern/MOD_boolean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c
index 3bf30e5fa14..2b3c1f00541 100644
--- a/source/blender/modifiers/intern/MOD_boolean.c
+++ b/source/blender/modifiers/intern/MOD_boolean.c
@@ -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;