diff options
author | midipix <writeonce@midipix.org> | 2020-06-25 18:19:59 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-06-25 18:19:59 +0000 |
commit | 3156453e6b1877da6aa8b4f9c41c1a53c309056c (patch) | |
tree | d44f2185cc3e7b3a65a3aa7e194d2d1a8eed96e6 /src/driver/slbt_driver_ctx.c | |
parent | b54f55b33e2932c3438a7f22cb9e51c447486c2f (diff) | |
download | slibtool-3156453e6b1877da6aa8b4f9c41c1a53c309056c.tar.bz2 slibtool-3156453e6b1877da6aa8b4f9c41c1a53c309056c.tar.xz |
driver: slbt_init_host_params(): added missing initialization of ecode.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index b57dbae..ab28c44 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -810,6 +810,7 @@ static int slbt_init_host_params( if (arprobe) { sprintf(drvhost->ar,"%s-ar",host->host); cfgmeta->ar = cfghost; + ecode = 127; /* empty archive */ if ((arfd = mkstemp(archivename)) >= 0) { |