diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-12-16 20:47:56 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-12-16 20:47:56 +0000 |
commit | 014eb66ce4db1bc2c1b23c5266b00e8b83ba00c2 (patch) | |
tree | 63a58f220e8848ed653371b6829aed59b378d9f3 /lib | |
parent | 579ca710c2a01a669c37b80fc0d927ff77321394 (diff) | |
download | netpbm-mirror-014eb66ce4db1bc2c1b23c5266b00e8b83ba00c2.tar.gz netpbm-mirror-014eb66ce4db1bc2c1b23c5266b00e8b83ba00c2.tar.xz netpbm-mirror-014eb66ce4db1bc2c1b23c5266b00e8b83ba00c2.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4808 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libsystem.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/libsystem.c b/lib/libsystem.c index 3c23e0c0..332cc5e2 100644 --- a/lib/libsystem.c +++ b/lib/libsystem.c @@ -523,10 +523,7 @@ pm_system2_lp(const char * const progName, va_start(args, termStatusP); - endOfArgs = FALSE; - argArray = NULL; - - for (endOfArgs = FALSE, argArray = NULL, n = 0; + for (endOfArgs = false, argArray = NULL, n = 0; !endOfArgs; ) { const char * const arg = va_arg(args, const char *); @@ -536,7 +533,7 @@ pm_system2_lp(const char * const progName, argArray[n++] = arg; if (!arg) - endOfArgs = TRUE; + endOfArgs = true; } va_end(args); @@ -628,9 +625,6 @@ pm_system_lp(const char * const progName, va_start(args, accepterParm); - endOfArgs = FALSE; - argArray = NULL; - for (endOfArgs = FALSE, argArray = NULL, n = 0; !endOfArgs; ) { @@ -641,7 +635,7 @@ pm_system_lp(const char * const progName, argArray[n++] = arg; if (!arg) - endOfArgs = TRUE; + endOfArgs = true; } va_end(args); |