summaryrefslogtreecommitdiff
path: root/Userland/truncate.cpp
diff options
context:
space:
mode:
authorShannon Booth <shannon.ml.booth@gmail.com>2020-02-23 13:44:54 +1300
committerAndreas Kling <kling@serenityos.org>2020-02-23 06:46:38 +0100
commit61bf8e01f9eefb08f7b169347e2cf6a58fcbc739 (patch)
treeceb9d0a85ae8370db8f3fdc8a5c028199a690abf /Userland/truncate.cpp
parent90f40a80f48dfe65d73f91b82ad9f53b17d8c2c5 (diff)
downloadserenity-61bf8e01f9eefb08f7b169347e2cf6a58fcbc739.zip
Userland: Delete redundant code in truncate
Fixes #1262
Diffstat (limited to 'Userland/truncate.cpp')
-rw-r--r--Userland/truncate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/truncate.cpp b/Userland/truncate.cpp
index 21a4bb07f6..2d25099e8b 100644
--- a/Userland/truncate.cpp
+++ b/Userland/truncate.cpp
@@ -91,7 +91,6 @@ int main(int argc, char** argv)
return 1;
}
- op = OP_Set;
size = st.st_size;
}