Skip to content

Refactor code to address clang-tidy warnings #854

Refactor code to address clang-tidy warnings

Refactor code to address clang-tidy warnings #854

GitHub Actions / Clang-Tidy failed Jan 22, 2025 in 0s

[Clang-Tidy] 6 warnings

[Clang-Tidy] 6 warnings

Annotations

Check warning on line 337 in src/limestone/log_entry.h

See this annotation in the file changed.

@github-actions github-actions / Clang-Tidy

readability-function-cognitive-complexity

function 'read_entry_from' has cognitive complexity of 34 (threshold 25) 

Check warning on line 475 in src/limestone/log_entry.h

See this annotation in the file changed.

@github-actions github-actions / Clang-Tidy

cppcoreguidelines-init-variables

variable 'blob_id' is not initialized 

Check warning on line 476 in src/limestone/log_entry.h

See this annotation in the file changed.

@github-actions github-actions / Clang-Tidy

cppcoreguidelines-pro-bounds-pointer-arithmetic

do not use pointer arithmetic 

Check warning on line 337 in src/./limestone/log_entry.h

See this annotation in the file changed.

@github-actions github-actions / Clang-Tidy

readability-function-cognitive-complexity

function 'read_entry_from' has cognitive complexity of 34 (threshold 25) 

Check warning on line 475 in src/./limestone/log_entry.h

See this annotation in the file changed.

@github-actions github-actions / Clang-Tidy

cppcoreguidelines-init-variables

variable 'blob_id' is not initialized 

Check warning on line 476 in src/./limestone/log_entry.h

See this annotation in the file changed.

@github-actions github-actions / Clang-Tidy

cppcoreguidelines-pro-bounds-pointer-arithmetic

do not use pointer arithmetic