summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index c6a11f9..a7d02a3 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -523,10 +523,7 @@ static int slbt_init_link_params(struct slbt_driver_ctx_impl * ctx)
program,prefix);
return -1;
}
- }
-
- /* executable? */
- if (!libname)
+ } else
return 0;
/* libname alloc */