Skip to content

Work in progress

Work in progress #119

Triggered via push September 29, 2024 18:27
Status Failure
Total duration 1m 24s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
lint
Process completed with exit code 1.
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:23:3 [readability-qualified-auto]: src/soundfx.cpp#L23
'auto file' can be declared as 'auto *file'
src/soundfx.cpp:25:17 [cppcoreguidelines-init-variables]: src/soundfx.cpp#L25
variable 'result' is not initialized
src/soundfx.cpp:34:12 [modernize-use-trailing-return-type]: src/soundfx.cpp#L34
use a trailing return type for this function
src/soundfx.cpp:35:3 [readability-qualified-auto]: src/soundfx.cpp#L35
'auto file' can be declared as 'auto *file'
src/soundfx.cpp:38:3 [bugprone-branch-clone]: src/soundfx.cpp#L38
switch has 3 consecutive identical branches
src/soundfx.cpp:57:12 [modernize-use-trailing-return-type]: src/soundfx.cpp#L57
use a trailing return type for this function
src/soundfx.cpp:58:3 [readability-qualified-auto]: src/soundfx.cpp#L58
'auto file' can be declared as 'auto *file'
src/soundfx.cpp:63:13 [modernize-use-trailing-return-type]: src/soundfx.cpp#L63
use a trailing return type for this function
src/soundfx.cpp:67:21 [cppcoreguidelines-avoid-non-const-global-variables]: src/soundfx.cpp#L67
variable 'PHYSFS_callbacks' is non-const and globally accessible, consider making it const