git: ifconfig(8): Rename file-global 'ifmr' to avoid shadowing

Aaron LI aly at crater.dragonflybsd.org
Thu Dec 21 00:54:11 PST 2023


commit 9ba29bf92d3e8bdaf4e228d7c6c6fc2386fc132e
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Dec 13 10:06:02 2023 +0800

    ifconfig(8): Rename file-global 'ifmr' to avoid shadowing
    
    get80211opmode() also uses a local variable named 'ifmr' which was
    shadowing the file-global 'ifmr'.

Summary of changes:
 sbin/ifconfig/ifieee80211.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9ba29bf92d3e8bdaf4e228d7c6c6fc2386fc132e


-- 
DragonFly BSD source repository


More information about the Commits mailing list