summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];