From 7469415279572524cc9bf9cef9ee9b4ee3a07761 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Thu, 9 Sep 2021 04:24:41 +0000 Subject: [PATCH] clang-format and clang-tidy fixes for 38547be2 --- data_structures/reverse_a_linked_list.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data_structures/reverse_a_linked_list.cpp b/data_structures/reverse_a_linked_list.cpp index 2324cb645..806fd54fa 100644 --- a/data_structures/reverse_a_linked_list.cpp +++ b/data_structures/reverse_a_linked_list.cpp @@ -137,8 +137,9 @@ int list::last() { t = t->next; } return t->val; - } else + } else { return 0; + } } } // namespace linked_list } // namespace data_structures