From 799376904de77c2fb862fc559c60489b37e72232 Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Tue, 22 Jan 2019 03:10:08 +0100 Subject: find-libdeps: in functions use return instead of continue to abort Even if continue would work, it does exactly the same as a return in the way this function is being used. --- find-libdeps.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find-libdeps.in b/find-libdeps.in index 1fb1fdf..ce92a4e 100644 --- a/find-libdeps.in +++ b/find-libdeps.in @@ -46,7 +46,7 @@ process_sofile() { # extract the major version: 1 soversion="${sofile##*\.so\.}" if [[ "$soversion" = "$sofile" ]] && ((IGNORE_INTERNAL)); then - continue + return fi if ! in_array "${soname}=${soversion}-${soarch}" "${soobjects[@]}"; then # libfoo.so=1-64 -- cgit v1.2.3-24-g4f1b