summaryrefslogtreecommitdiff
path: root/Userland/Utilities/gzip.cpp
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-22 16:39:02 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-29 10:33:44 +0200
commitc8611955571f779dbb99552551b549322596171a (patch)
tree5c5896eec2d4369f9e2b5104d8ba161474377402 /Userland/Utilities/gzip.cpp
parent8cd62b57802b8a41718c80d8645d79f2516e2072 (diff)
downloadserenity-c8611955571f779dbb99552551b549322596171a.zip
Userland: Fix new GCC warnings
Diffstat (limited to 'Userland/Utilities/gzip.cpp')
-rw-r--r--Userland/Utilities/gzip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/gzip.cpp b/Userland/Utilities/gzip.cpp
index f310001856..c386ce0f49 100644
--- a/Userland/Utilities/gzip.cpp
+++ b/Userland/Utilities/gzip.cpp
@@ -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)