diff options
author | Rob Landley <rob@landley.net> | 2022-04-12 02:31:17 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2022-04-12 02:31:17 -0500 |
commit | a6e0c86f77cbb97cd56249b3fe04822d0f897304 (patch) | |
tree | 06dc91a274b3f2996acd2e08d12e40f4ccef3f88 | |
parent | 50361a1b07b9d9e4fff983ef2a5e233625851de2 (diff) | |
download | toybox-a6e0c86f77cbb97cd56249b3fe04822d0f897304.tar.gz |
All PEDANTIC_ARGS does is set a macro that's never used.
-rw-r--r-- | Config.in | 6 | ||||
-rw-r--r-- | lib/toyflags.h | 6 |
2 files changed, 0 insertions, 12 deletions
@@ -136,12 +136,6 @@ config TOYBOX_DEBUG Enable extra checks for debugging purposes. All of them catch things that can only go wrong at development time, not runtime. -config TOYBOX_PEDANTIC_ARGS - bool "Pedantic argument checking" - default n - help - Check arguments for commands that have no arguments. - config TOYBOX_UID_SYS int "First system UID" default 100 diff --git a/lib/toyflags.h b/lib/toyflags.h index c8830874..0c65735c 100644 --- a/lib/toyflags.h +++ b/lib/toyflags.h @@ -37,9 +37,3 @@ // Error code to return if argument parsing fails (default 1) #define TOYFLAG_ARGFAIL(x) (x<<24) - -#if CFG_TOYBOX_PEDANTIC_ARGS -#define NO_ARGS ">0" -#else -#define NO_ARGS 0 -#endif |