[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-cvs
Subject: [binutils-gdb] gdb/gdb_mbuild.sh: use return instead of continue to avoid shellcheck error
From: Simon Marchi via Gdb-cvs <gdb-cvs () sourceware ! org>
Date: 2022-07-28 14:31:16
Message-ID: 20220728143116.C8C67385AE5A () sourceware ! org
[Download RAW message or body]
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8727caedd18a93826a825efbfec33aea3b8f3109
commit 8727caedd18a93826a825efbfec33aea3b8f3109
Author: yaowenbin <yaowenbin1@huawei.com>
Date: Thu Jul 28 17:22:47 2022 +0800
gdb/gdb_mbuild.sh: use return instead of continue to avoid shellcheck error
Fix:
In gdb_mbuild.sh line 174:
continue
^------^ SC2104 (error): In functions, use return instead of continue.
Change-Id: I5ce95b01359c5cfbb1612f2f48b80bfeea66c96c
Diff:
---
gdb/gdb_mbuild.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/gdb_mbuild.sh b/gdb/gdb_mbuild.sh
index 0d4c28e87b1..6a502369070 100755
--- a/gdb/gdb_mbuild.sh
+++ b/gdb/gdb_mbuild.sh
@@ -171,7 +171,7 @@ fail ()
if test "${keepgoing}" != ""
then
#exit 1
- continue
+ return 1
else
kill $$
exit 1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic