summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-27 00:48:44 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-27 00:48:44 +0100
commit7341faceeb35b1b60f0946494268283192fca9c8 (patch)
tree9a5b49cf504eb96cc1103e0fa452cfcf4a7e320a /Userland/Utilities
parent1ded1ed963f703755f475fe4b8688f783f3a83e4 (diff)
downloadserenity-7341faceeb35b1b60f0946494268283192fca9c8.zip
cat: Remove accidentally-committed unused macro
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/cat.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Utilities/cat.cpp b/Userland/Utilities/cat.cpp
index aa9dda6bb8..89f984b799 100644
--- a/Userland/Utilities/cat.cpp
+++ b/Userland/Utilities/cat.cpp
@@ -12,10 +12,6 @@
#include <string.h>
#include <unistd.h>
-#define IFTRY(binding, expression) \
- if (auto _temporary_result = (expression); !_temporary_result.is_error()) { \
- auto binding = _temporary_result.release_value();
-
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
TRY(Core::System::pledge("stdio rpath", nullptr));