summaryrefslogtreecommitdiff
path: root/modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-21 11:43:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-21 11:43:19 +0100
commit92993c64c6e778836eed393ee905afbcc503e2e2 (patch)
tree6cae38f3a14edb001d8ba574046556b94ac47096 /modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp
parent404184105ed89a1b5b1069a96f51b34c60ed9146 (diff)
parent28af8707505a6bd33a83a3fbaa88bac88d9c414b (diff)
Merge pull request #68025 from Sauermann/fix-cppcheck-code-simplifications
Code simplifications found by cppcheck
Diffstat (limited to 'modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp')
-rw-r--r--modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp b/modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp
index 4d996e6283..29208efb20 100644
--- a/modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp
+++ b/modules/openxr/extensions/openxr_htc_vive_tracker_extension.cpp
@@ -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") {