Fix clang-tidy

This commit is contained in:
Robert Schulze 2023-09-22 10:12:11 +00:00
parent 877e4f3aab
commit 7b585da613
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -597,7 +597,7 @@ int main(int argc, char* argv[])
std::cout << "Compression with level: " << level << std::endl;
if (0 != compressFiles(out_name, exec, &argv[start_of_files], argc - start_of_files, output_fd, level, info_out))
{
printf("Compression failed.\n"); // NOLING(modernize-use-std-print)
printf("Compression failed.\n"); // NOLINT(modernize-use-std-print)
if (0 != close(output_fd))
perror("close");
unlink(argv[start_of_files - 1]);