diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-03 10:35:38 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-03 10:35:38 +0200 |
commit | 41e762ca2973ce7aa03f14f81b98c85835d2b9d5 (patch) | |
tree | 06a66566c346bcb4b3f2ad087c5625576f5a1516 /core/input/input.cpp | |
parent | bc7a7a479eab822dd69756e35604093704233a5d (diff) | |
parent | 62120c7841182cde448b94018ec924cde4369896 (diff) | |
download | redot-engine-41e762ca2973ce7aa03f14f81b98c85835d2b9d5.tar.gz |
Merge pull request #91454 from akien-mga/coverity-checks
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
Diffstat (limited to 'core/input/input.cpp')
-rw-r--r-- | core/input/input.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/input/input.cpp b/core/input/input.cpp index aa4b47934e..56f616fac4 100644 --- a/core/input/input.cpp +++ b/core/input/input.cpp @@ -1504,6 +1504,7 @@ void Input::parse_mapping(const String &p_mapping) { JoyAxis output_axis = _get_output_axis(output); if (output_button == JoyButton::INVALID && output_axis == JoyAxis::INVALID) { print_verbose(vformat("Unrecognized output string \"%s\" in mapping:\n%s", output, p_mapping)); + continue; } ERR_CONTINUE_MSG(output_button != JoyButton::INVALID && output_axis != JoyAxis::INVALID, vformat("Output string \"%s\" matched both button and axis in mapping:\n%s", output, p_mapping)); |