diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-28 11:10:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-28 11:10:25 +0300 |
commit | 6398e6608f5d9b8b512d76657325c00a3cd2036c (patch) | |
tree | 3904a4844b930d7799fff9a97c359cd1849bc65d /source/blender/gpencil_modifiers | |
parent | ee1b2cce5f5c0c3c2980d91d4401a88b49e47090 (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.c | 1 |
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; } |