🧹 gucc: refactor file creation for overwrite #123
Annotations
10 errors and 1 warning
gucc/src/crypttab.cpp#L105
2 adjacent parameters of 'generate_crypttab' of similar type ('std::string_view') are easily swapped by mistake
|
gucc/src/file_utils.cpp#L15
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
|
gucc/src/file_utils.cpp#L21
integer literal has suffix 'u', which is not uppercase
|
gucc/src/file_utils.cpp#L23
integer literal has suffix 'u', which is not uppercase
|
gucc/src/file_utils.cpp#L33
calling legacy resource function without passing a 'gsl::owner<>'
|
gucc/src/file_utils.cpp#L38
2 adjacent parameters of 'write_to_file' of similar type ('std::string_view') are easily swapped by mistake
|
gucc/src/file_utils.cpp#L48
2 adjacent parameters of 'create_file_for_overwrite' of similar type ('std::string_view') are easily swapped by mistake
|
gucc/src/fstab.cpp#L47
do not use 'else' after 'return'
|
gucc/src/fstab.cpp#L84
do not use 'else' after 'return'
|
gucc/src/fstab.cpp#L122
passing result of std::move() as a const reference argument; no move will actually happen
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job succeeded
Loading