diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-20 04:08:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-20 04:12:24 +0300 |
commit | cf8ea741f25f4ef55e51278d3c8e2943062a84a0 (patch) | |
tree | 33c711f15c7005e784d8faa91643436999744a5f /source/blender/editors/screen | |
parent | 0733926a3443bea976e33f9c630e2cd26a7f8066 (diff) |
Cleanup: quiet GCC maybe-uninitialized warning
Function signatures for snap callbacks used `const` incorrectly
which was hidden by casting function types.
This made it seem as if the input arguments wouldn't be change and
wouldn't be initialized.
Name return arguments with an `r_` prefix, order them last,
remove function casts and correct `const` usage.
Diffstat (limited to 'source/blender/editors/screen')
0 files changed, 0 insertions, 0 deletions