From e4b38b2bccc4214757b2185bebbf54a0d5720443 Mon Sep 17 00:00:00 2001 From: Songhao Jia Date: Wed, 9 Apr 2025 16:20:13 -0700 Subject: [PATCH] remove reduntant log_delegate_intermediate_logging_helper call Summary: as title. The redundant call should be mis-introed by solving merge conflict. Differential Revision: D72754398 --- devtools/etdump/etdump_flatcc.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/devtools/etdump/etdump_flatcc.cpp b/devtools/etdump/etdump_flatcc.cpp index f6e18bf49d2..4e300ee4065 100644 --- a/devtools/etdump/etdump_flatcc.cpp +++ b/devtools/etdump/etdump_flatcc.cpp @@ -323,40 +323,32 @@ Result ETDumpGen::log_intermediate_output_delegate( const char* name, DelegateDebugIntId delegate_debug_index, const ArrayRef output) { - log_intermediate_output_delegate_helper(name, delegate_debug_index, output); - Result result = log_intermediate_output_delegate_helper( + return log_intermediate_output_delegate_helper( name, delegate_debug_index, output); - return result; } Result ETDumpGen::log_intermediate_output_delegate( const char* name, DelegateDebugIntId delegate_debug_index, const int& output) { - log_intermediate_output_delegate_helper(name, delegate_debug_index, output); - Result result = log_intermediate_output_delegate_helper( + return log_intermediate_output_delegate_helper( name, delegate_debug_index, output); - return result; } Result ETDumpGen::log_intermediate_output_delegate( const char* name, DelegateDebugIntId delegate_debug_index, const bool& output) { - log_intermediate_output_delegate_helper(name, delegate_debug_index, output); - Result result = log_intermediate_output_delegate_helper( + return log_intermediate_output_delegate_helper( name, delegate_debug_index, output); - return result; } Result ETDumpGen::log_intermediate_output_delegate( const char* name, DelegateDebugIntId delegate_debug_index, const double& output) { - log_intermediate_output_delegate_helper(name, delegate_debug_index, output); - Result result = log_intermediate_output_delegate_helper( + return log_intermediate_output_delegate_helper( name, delegate_debug_index, output); - return result; } template