Skip to content

Work in progress

Work in progress #128

Triggered via push September 30, 2024 10:11
Status Failure
Total duration 1m 23s
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:7:15 [modernize-use-trailing-return-type]: src/soundfx.cpp#L7
use a trailing return type for this function
src/soundfx.cpp:8:3 [readability-qualified-auto]: src/soundfx.cpp#L8
'auto file' can be declared as 'auto *file'
src/soundfx.cpp:10:17 [cppcoreguidelines-init-variables]: src/soundfx.cpp#L10
variable 'result' is not initialized
src/soundfx.cpp:19:12 [modernize-use-trailing-return-type]: src/soundfx.cpp#L19
use a trailing return type for this function
src/soundfx.cpp:20:3 [readability-qualified-auto]: src/soundfx.cpp#L20
'auto file' can be declared as 'auto *file'
src/soundfx.cpp:23:3 [bugprone-branch-clone]: src/soundfx.cpp#L23
switch has 3 consecutive identical branches
src/soundfx.cpp:42:12 [modernize-use-trailing-return-type]: src/soundfx.cpp#L42
use a trailing return type for this function
src/soundfx.cpp:43:3 [readability-qualified-auto]: src/soundfx.cpp#L43
'auto file' can be declared as 'auto *file'
src/soundfx.cpp:48:13 [modernize-use-trailing-return-type]: src/soundfx.cpp#L48
use a trailing return type for this function
src/soundfx.cpp:52:21 [cppcoreguidelines-avoid-non-const-global-variables]: src/soundfx.cpp#L52
variable 'PHYSFS_callbacks' is non-const and globally accessible, consider making it const