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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-28 11:10:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-28 11:10:25 +0300
commit6398e6608f5d9b8b512d76657325c00a3cd2036c (patch)
tree3904a4844b930d7799fff9a97c359cd1849bc65d /source/blender/gpencil_modifiers
parentee1b2cce5f5c0c3c2980d91d4401a88b49e47090 (diff)
GPencil: Avoid tautology assignment
This is considered a warning which is usually promoted to error in developers' environment. Probably worth adding an assert or so, if possible?
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c
index 08416f061fe..8f7911834c9 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c
@@ -151,7 +151,6 @@ static float gp_hook_falloff(const struct GPHookData_cb *tData, const float len_
fac = sqrtf(2 * fac - fac * fac);
break;
default:
- fac = fac;
break;
}