Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tidy: Only declare one local variable per line.
The clang-tidy "isolate declarations" readability checker pointed out a few places in slice.c where multiple local variables are declared on the same line. Split these declarations onto separate lines for easier readability. While working in these files, try and reduce the scope of the these variables and/or combine them with the setting of their initial value. One or two variables were also changed to type auto. https://clang.llvm.org/extra/clang-tidy/checks/readability-isolate-declaration.html
- Loading branch information
1 parent
71b44e0
commit 653c6b3
Showing
1 changed file
with
51 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters