aboutsummaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/exit.cc2
-rw-r--r--src/command/jobs.cc2
-rw-r--r--src/command/quit.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/command/exit.cc b/src/command/exit.cc
index e00a0f2..c72afe0 100644
--- a/src/command/exit.cc
+++ b/src/command/exit.cc
@@ -5,7 +5,7 @@ namespace ov4::command
void exit(char **argv)
{
- std::exit(0);
+ quit(argv);
}
}
diff --git a/src/command/jobs.cc b/src/command/jobs.cc
index 18acc0e..244d625 100644
--- a/src/command/jobs.cc
+++ b/src/command/jobs.cc
@@ -7,7 +7,7 @@ namespace ov4::command
using namespace ov4;
-void jobs(char **argv)
+void jobs([[maybe_unused]] char **argv)
{
listjobs();
}
diff --git a/src/command/quit.cc b/src/command/quit.cc
index 0ac918b..676f81a 100644
--- a/src/command/quit.cc
+++ b/src/command/quit.cc
@@ -5,7 +5,7 @@ namespace ov4::command
using namespace ov4;
-void quit(char **argv)
+void quit([[maybe_unused]] char **argv)
{
std::exit(0);
}