From 6398e6608f5d9b8b512d76657325c00a3cd2036c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 28 Sep 2018 10:10:25 +0200 Subject: 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? --- source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/gpencil_modifiers') 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; } -- cgit v1.2.3