From 0f1f34a3bf7a84fa408d8eead025dae7aa0c055a Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 2 May 2021 15:09:35 +0000 Subject: heuristics: slbt_get_lconf_flags(): added missing 'else' in if-then block. --- src/internal/slibtool_lconf_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c index a6f8e58..25d6041 100644 --- a/src/internal/slibtool_lconf_impl.c +++ b/src/internal/slibtool_lconf_impl.c @@ -686,7 +686,7 @@ int slbt_get_lconf_flags( && (mark[3]=='\n')) optshared = SLBT_DRIVER_SHARED; - } if (!strncmp(mark,optstaticstr,optstaticlen)) { + } else if (!strncmp(mark,optstaticstr,optstaticlen)) { mark += optstaticlen; if ((mark[0]=='n') -- cgit v1.2.3