Skip to content

Work in progress

Work in progress #37

Triggered via push November 18, 2023 14:44
Status Success
Total duration 1m 18s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 10 warnings, and 1 notice
/src/common.hpp:12:10 [clang-diagnostic-error]: src/common.hpp#L12
'SDL2/SDL.h' file not found
/src/soundfx.cpp:7:47 [readability-non-const-parameter]: src/soundfx.cpp#L7
pointer parameter 'stream' can be pointer to const
/src/soundfx.cpp:21:15 [modernize-use-trailing-return-type]: src/soundfx.cpp#L21
use a trailing return type for this function
/src/soundfx.cpp:22:3 [readability-qualified-auto]: src/soundfx.cpp#L22
'auto file' can be declared as 'auto *file'
/src/soundfx.cpp:24:17 [cppcoreguidelines-init-variables]: src/soundfx.cpp#L24
variable 'result' is not initialized
/src/soundfx.cpp:31:12 [modernize-use-trailing-return-type]: src/soundfx.cpp#L31
use a trailing return type for this function
/src/soundfx.cpp:32:3 [readability-qualified-auto]: src/soundfx.cpp#L32
'auto file' can be declared as 'auto *file'
/src/soundfx.cpp:35:3 [bugprone-branch-clone]: src/soundfx.cpp#L35
switch has 3 consecutive identical branches
/src/soundfx.cpp:54:12 [modernize-use-trailing-return-type]: src/soundfx.cpp#L54
use a trailing return type for this function
/src/soundfx.cpp:55:3 [readability-qualified-auto]: src/soundfx.cpp#L55
'auto file' can be declared as 'auto *file'
/src/soundfx.cpp:60:13 [modernize-use-trailing-return-type]: src/soundfx.cpp#L60
use a trailing return type for this function
Run clang-format on src/soundfx.cpp: src/soundfx.cpp#L1
File src/soundfx.cpp does not conform to Custom style guidelines. (lines 21, 24, 61, 64, 77, 85, 89, 97, 98, 102, 105, 106, 121, 124, 127, 133)