git: nl_langinfo: Simplify case ladder

John Marino marino at crater.dragonflybsd.org
Mon Nov 9 14:24:04 PST 2015


commit 98013cf1cbd270ccfc50b821d3d01a173dbc01ff
Author: John Marino <draco at marino.st>
Date:   Mon Nov 9 23:22:11 2015 +0100

    nl_langinfo: Simplify case ladder
    
    The NONE:US-ASCII case isn't necessary.  The "NONE:" case will handle
    US-ASCII, so let's remove the redundant handling.

Summary of changes:
 lib/libc/locale/nl_langinfo.c | 2 --
 1 file changed, 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/98013cf1cbd270ccfc50b821d3d01a173dbc01ff


-- 
DragonFly BSD source repository



More information about the Commits mailing list