1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

Userland: Fix new GCC warnings

This commit is contained in:
Gunnar Beutner 2021-04-22 16:39:02 +02:00 committed by Andreas Kling
parent 8cd62b5780
commit c861195557
5 changed files with 12 additions and 3 deletions

View file

@ -25,7 +25,7 @@ int main(int argc, char** argv)
if (write_to_stdout)
keep_input_files = true;
for (const String& input_filename : filenames) {
for (const String input_filename : filenames) {
auto output_filename = String::formatted("{}.gz", input_filename);
// We map the whole file instead of streaming to reduce size overhead (gzip header) and increase the deflate block size (better compression)