commit:     89fe7fb47d5b486b0e65e2e13fddf1819ce9c66c
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jun  8 16:59:56 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 02:51:09 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=89fe7fb4

ecompress: drop the x variable from do_queue()

Drop the 'x' variable from the do_queue() function. There already exists
a 'path' variable and there is no substantive reason not to re-use it.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/ecompress | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/ecompress b/bin/ecompress
index c36bc9d263..9d8f8f3024 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -54,7 +54,7 @@ do_ignore() {
 }
 
 do_queue() {
-       local vpath comp path x
+       local vpath comp path
        local -a find_args paths
        local -A collisions
 
@@ -108,8 +108,8 @@ do_queue() {
        if (( ${#collisions[@]} )); then
                eqawarn "QA Notice: Colliding files found by ecompress:"
                eqawarn
-               for x in "${!collisions[@]}"; do
-                       eqawarn "  ${x}"
+               for path in "${!collisions[@]}"; do
+                       eqawarn "  ${path}"
                done
                eqawarn
                eqawarn "Please remove the extraneous compressed variants."

Reply via email to