• [gentoo-dev] [PATCH 2/6] linux-info.eclass: Drop unused myARCH variable

    From James Le Cuirot@21:1/5 to All on Fri May 23 19:40:01 2025
    This was copied from getfilevar but never used.

    Signed-off-by: James Le Cuirot <chewi@gentoo.org>
    ---
    eclass/linux-info.eclass | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
    index 0f61381501442..c7950b4e22920 100644
    --- a/eclass/linux-info.eclass
    +++ b/eclass/linux-info.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2024 Gentoo Authors
    +# Copyright 1999-2025 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: linux-info.eclass
    @@ -253,7 +253,7 @@ getfilevar() {
    # This is done with sed matching an expression only. If the variable is defined,
    # you will run into problems. See getfilevar for those cases.
    getfilevar_noexec() {
    - local ERROR basefname basedname mycat myARCH="${ARCH}"
    + local ERROR basefname basedname mycat
    ERROR=0
    mycat='cat'

    --
    2.49.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)