From eccbb38e94e4dbadd7124b167ef5fcc34265ffd7 Mon Sep 17 00:00:00 2001 From: Howard Soh Date: Thu, 24 Feb 2022 22:27:15 -0700 Subject: [PATCH] #1996 simplify the retrun statement (no effect with tf_left at the second return --- met/src/basic/vx_config/threshold.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/met/src/basic/vx_config/threshold.cc b/met/src/basic/vx_config/threshold.cc index 214cecaf94..5fd41723b0 100644 --- a/met/src/basic/vx_config/threshold.cc +++ b/met/src/basic/vx_config/threshold.cc @@ -139,7 +139,7 @@ if ( tf_left ) return ( true ); const bool tf_right = right_child->check(x, cmn, csd); -return ( tf_left || tf_right ); +return ( tf_right ); }