From 180576f788c1347808b9fba247a124d94777f32e Mon Sep 17 00:00:00 2001 From: Yizhou Chen Date: Sun, 10 May 2026 17:52:59 +0800 Subject: [PATCH] fix: Remove inaccessible code Clear warning MSVC(C4702) --- include/behaviortree_cpp/utils/safe_any.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/behaviortree_cpp/utils/safe_any.hpp b/include/behaviortree_cpp/utils/safe_any.hpp index 3a87caf8f..41116b637 100644 --- a/include/behaviortree_cpp/utils/safe_any.hpp +++ b/include/behaviortree_cpp/utils/safe_any.hpp @@ -458,7 +458,6 @@ inline nonstd::expected Any::stringToNumber() const return nonstd::make_unexpected("Any failed string to number conversion"); } #endif - return nonstd::make_unexpected("Any conversion from string failed"); } template