summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-11 04:05:36 -0400
committermidipix <writeonce@midipix.org>2018-07-11 05:12:30 -0400
commita797c957a5dae300c0439ed1cc072d95ab90e08d (patch)
treef0e3d2d5b5816c47d9ab6f166cb87260ebeaf1f5
parent16c8daacb03394846aa5be2c4ea4c04f58829b4f (diff)
downloadslibtool-a797c957a5dae300c0439ed1cc072d95ab90e08d.tar.bz2
slibtool-a797c957a5dae300c0439ed1cc072d95ab90e08d.tar.xz
slbt_split_argv(): condition blocks: edited for style consistency.
-rw-r--r--src/driver/slbt_driver_ctx.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 37e10f8..1ce3084 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -321,15 +321,13 @@ static int slbt_split_argv(
if (argv[i][2] == 0)
*targv++ = argv[++i];
- }
-
- else if ((argv[i][1] == 'W') && (argv[i][2] == 'c'))
+ } else if ((argv[i][1] == 'W') && (argv[i][2] == 'c')) {
*cargv++ = argv[i];
- else if (!(strcmp("Xcompiler",&argv[i][1])))
+ } else if (!(strcmp("Xcompiler",&argv[i][1]))) {
*cargv++ = argv[++i];
- else if ((argv[i][1] == 'R') && (argv[i][2] == 0)) {
+ } else if ((argv[i][1] == 'R') && (argv[i][2] == 0)) {
*targv++ = argv[i++];
*targv++ = argv[i];