commit: 3a842499e25f78153c8f73935ac4c39609fb8996
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Fri May 23 00:27:47 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 30 07:37:33 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=3a842499
90gcc-warnings: rename the msgs variable to patterns
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/install-qa-check.d/90gcc-warnings | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/install-qa-check.d/90gcc-warnings
b/bin/install-qa-check.d/90gcc-warnings
index 85ed35e52b..c00a33914e 100644
--- a/bin/install-qa-check.d/90gcc-warnings
+++ b/bin/install-qa-check.d/90gcc-warnings
@@ -4,7 +4,7 @@
gcc_warn_check() {
local i reset_xtrace
- local -a msgs
+ local -a patterns
# Evaluate misc gcc warnings
# In debug mode, this variable definition and corresponding grep calls
@@ -12,7 +12,7 @@ gcc_warn_check() {
reset_xtrace=$(shopt -o -p xtrace)
shopt -o -u xtrace
- msgs=(
+ patterns=(
# only will and does, no might :)
'.*(does|will).*\[-Wstrict-aliasing\]'
'.*\[-Wrestrict\]'
@@ -167,7 +167,7 @@ gcc_warn_check() {
cat -- "${PORTAGE_LOG_FILE}"
fi \
| sed -E -e $'s/\033\[[0-9;]*[A-Za-z]//g' \
- | grep -E -a "warning: (${msgs[*]})" \
+ | grep -E -a "warning: (${patterns[*]})" \
| uniq
)