aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-02 12:49:29 +0000
committer_ov4 <ov4@ov4.org>2026-09-02 12:49:29 +0000
commit816ea0743a9cd96e6e3888f446b4344afc932ef4 (patch)
tree5da57bc05daed7e0f824c72b4cefa477b0be388f /src/main.cc
parenta7fb1e44cbb843587170d7072be47d59d1328c54 (diff)
fix [[maybe_unused]]
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 05136f4..a884f78 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -23,12 +23,11 @@ char sbuf[MAXLINE]; /* for composing sprintf messages */
/*
* main - The shell's main routine
*/
-int main(int argc, char **argv)
+int main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
{
init();
//test(argv);
- char c;
char cmdline[MAXLINE];
/* Redirect stderr to stdout (so that driver will get all output