summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 4812076..7e170d2 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -1005,7 +1005,6 @@ static void slbt_init_flavor_settings(
{
const struct slbt_host_params * host;
const struct slbt_flavor_settings * settings;
- const char * dot;
host = ahost ? ahost : &cctx->host;
@@ -1032,8 +1031,7 @@ static void slbt_init_flavor_settings(
memcpy(psettings,settings,sizeof(*settings));
if (cctx->shrext)
- psettings->dsosuffix = (dot = strrchr(cctx->shrext,'.'))
- ? dot : cctx->shrext;
+ psettings->dsosuffix = cctx->shrext;
}
static int slbt_init_ldrpath(