diff options
author | midipix <writeonce@midipix.org> | 2018-08-13 19:54:15 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-08-13 19:54:15 -0400 |
commit | 0263aa24fad4022beae5d3bc80a284750365e4f7 (patch) | |
tree | aef234cb0f9f850181885ff568b547dc5598035e /src/internal | |
parent | 2942830e75435066596bd9e612cac8102b5331f4 (diff) | |
download | slibtool-0263aa24fad4022beae5d3bc80a284750365e4f7.tar.bz2 slibtool-0263aa24fad4022beae5d3bc80a284750365e4f7.tar.xz |
slbt_lconf_open(): removed redundant check.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/slibtool_lconf_impl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c index 9daba91..c5f721a 100644 --- a/src/internal/slibtool_lconf_impl.c +++ b/src/internal/slibtool_lconf_impl.c @@ -97,10 +97,6 @@ int slbt_get_lconf_flags( if ((fdlconf = slbt_lconf_open(dctx,lconf)) < 0) return SLBT_NESTED_ERROR(dctx); - if (fdlconf < 0) - return SLBT_CUSTOM_ERROR( - dctx,SLBT_ERR_LCONF_OPEN); - /* map relative libtool script */ if (fstat(fdlconf,&st) < 0) return SLBT_SYSTEM_ERROR(dctx); |