Blender Git Commit Log

Git Commits -> Revision 4f27228

July 30, 2021, 14:56 (GMT)
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.

Commit Details:

Full Hash: 4f27228b0cbf2d2fd812fc6ec9a644a1e877f2ea
Parent Commit: 84f565e
Committed By: Fabian Schempp
Lines Changed: +67, -51

1 Modified Path:

/source/blender/editors/transform/transform_snap_object.c (+67, -51) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021