git: libc/citrus: Catch a NULL pointer earlier, check for empty string later.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Nov 18 05:14:56 PST 2017


commit 692504b5953249a5094ef08bef321bc2f90618ef
Author: Sascha Wildner <saw at online.de>
Date:   Sat Nov 18 13:30:57 2017 +0100

    libc/citrus: Catch a NULL pointer earlier, check for empty string later.
    
    This fixes a gcc8 warning.
    
    Taken-from: NetBSD (Revisions 1.20-1.22)

Summary of changes:
 lib/libc/citrus/citrus_none.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/692504b5953249a5094ef08bef321bc2f90618ef


-- 
DragonFly BSD source repository


More information about the Commits mailing list