summaryrefslogtreecommitdiff
path: root/thirdparty/squish/maths.cpp
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@darkstarsystems.com>2018-04-30 15:04:30 -0400
committerGary Oberbrunner <garyo@darkstarsystems.com>2018-04-30 15:30:21 -0400
commit8d5c30ce83c2ec69403338f9bc2809aef6f1539b (patch)
tree65ade822da09eaab5252a8c69d3b6dcbc99dc1c7 /thirdparty/squish/maths.cpp
parent613a8bee415381a8564d34092b479e1f159e8e60 (diff)
Handle missing arg pointer in get_call_error_text
I had a situation coming from godot-python where the caller of Variant::get_call_error_text() passed null for `p_argptrs`. In addition to fixing that in the caller, seems like good practice to defend against that situation in the callee to prevent a crash. So this patch just substitutes some semi-useful text for the source type name and keeps going so the user's actual error gets emitted.
Diffstat (limited to 'thirdparty/squish/maths.cpp')
0 files changed, 0 insertions, 0 deletions