Skip to content

Commit 44ec283

Browse files
committed
Remove unnecessary intermediate variable
1 parent b0e858b commit 44ec283

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

post/clang_tidy_review/clang_tidy_review/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -992,8 +992,7 @@ def create_review(
992992
sha = os.environ.get("GITHUB_SHA")
993993

994994
# Post to the action job summary
995-
step_summary = ""
996-
step_summary += make_timing_summary(clang_tidy_profiling, sha)
995+
step_summary = make_timing_summary(clang_tidy_profiling, sha)
997996
set_summary(step_summary)
998997

999998
print("clang-tidy had the following warnings:\n", clang_tidy_warnings, flush=True)

0 commit comments

Comments
 (0)