diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-20 01:38:35 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-20 01:38:35 +0400 |
commit | 9beef61199f4664b80f9e36617873bff7a6bb5ec (patch) | |
tree | 84f5e70e0949bb055bc98d012495f71af66fc1f4 /source/blender/editors/armature/meshlaplacian.c | |
parent | d91deb9e97d38fe3d2220255bbbc72ee1eee1124 (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/editors/armature/meshlaplacian.c')
-rw-r--r-- | source/blender/editors/armature/meshlaplacian.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/meshlaplacian.c b/source/blender/editors/armature/meshlaplacian.c index 17c6e25b52b..de9b4a890cb 100644 --- a/source/blender/editors/armature/meshlaplacian.c +++ b/source/blender/editors/armature/meshlaplacian.c @@ -1716,7 +1716,7 @@ static void meshdeform_matrix_solve(MeshDeformModifierData *mmd, MeshDeformBind } } else { - modifier_setError(&mmd->modifier, TIP_("Failed to find bind solution (increase precision?).")); + modifier_setError(&mmd->modifier, "%s", TIP_("Failed to find bind solution (increase precision?).")); error("Mesh Deform: failed to find bind solution."); break; } |