Skip to content

Change some locations where checking DebugMode does more harm than good.

Eisenhauer, Greg requested to merge github/fork/eisenhauer/DebugModeMods into master

DebugMode's best use is to provide a way for users to avoid expensive checks in code thought to be fully-debugged. It makes less sense when the check to be avoided is cheap, and the consequences are severe (e.g. seg faults or array out-of-bounds access, instead of a nice error). This cleans up a couple of such uses.

Merge request reports