summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-13 19:54:15 -0400
committermidipix <writeonce@midipix.org>2018-08-13 19:54:15 -0400
commit0263aa24fad4022beae5d3bc80a284750365e4f7 (patch)
treeaef234cb0f9f850181885ff568b547dc5598035e /src/internal
parent2942830e75435066596bd9e612cac8102b5331f4 (diff)
downloadslibtool-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.c4
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);