git: sys/vfs/hammer2: Fix -Wint-in-bool-context warning

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Jan 24 23:36:08 PST 2023


commit f6ce9317ec817d2d6796a4001b8f3390b5404964
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Jan 25 00:16:40 2023 -0800

    sys/vfs/hammer2: Fix -Wint-in-bool-context warning
    
    Warned on Linux user space.
    
    warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6ce9317ec817d2d6796a4001b8f3390b5404964


-- 
DragonFly BSD source repository


More information about the Commits mailing list