Code simplifications found by cppcheck
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
This commit is contained in:
parent
dce1602eda
commit
28af870750
15 changed files with 11 additions and 41 deletions
|
|
@ -91,8 +91,6 @@ bool OpenXRHTCViveTrackerExtension::is_path_supported(const String &p_path) {
|
|||
return available;
|
||||
} else if (p_path == "/user/vive_tracker_htcx/role/chest") {
|
||||
return available;
|
||||
} else if (p_path == "/user/vive_tracker_htcx/role/chest") {
|
||||
return available;
|
||||
} else if (p_path == "/user/vive_tracker_htcx/role/camera") {
|
||||
return available;
|
||||
} else if (p_path == "/user/vive_tracker_htcx/role/keyboard") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue