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?
This commit is contained in:
2018-09-28 10:10:25 +02:00
parent ee1b2cce5f
commit 6398e6608f

View File

@@ -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;
}