diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-02 13:12:21 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-31 09:55:02 +0200 |
commit | 62120c7841182cde448b94018ec924cde4369896 (patch) | |
tree | d873d2a8d1848a0651b26eef094d24177d831d41 /core/input/input.cpp | |
parent | a4f2ea91a1bd18f70a43ff4c1377db49b56bc3f0 (diff) | |
download | redot-engine-62120c7841182cde448b94018ec924cde4369896.tar.gz |
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
- Fixes #88630.
- Fixes #92578.
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)); |