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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user