diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-07 15:36:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-07 15:37:39 +0300 |
commit | b134434224254d4ac3fc73d023f2f6d914746690 (patch) | |
tree | b67d2c5aee982495d55848414c362665a37476b0 /source/blender/blenlib/intern/lasso_2d.c | |
parent | 3db67fd670535c0a709ec6e8204fcb730cd3eb0d (diff) |
Cleanup: declare arrays arrays where possible
Diffstat (limited to 'source/blender/blenlib/intern/lasso_2d.c')
-rw-r--r-- | source/blender/blenlib/intern/lasso_2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/lasso_2d.c b/source/blender/blenlib/intern/lasso_2d.c index f2cc8d42de7..a3b111cf0f2 100644 --- a/source/blender/blenlib/intern/lasso_2d.c +++ b/source/blender/blenlib/intern/lasso_2d.c @@ -61,7 +61,7 @@ bool BLI_lasso_is_point_inside(const int mcoords[][2], return false; } - int pt[2] = {sx, sy}; + const int pt[2] = {sx, sy}; return isect_point_poly_v2_int(pt, mcoords, mcoords_len, true); } |