git: sys/vfs/hammer2: Avoid unused warning when !INVARIANTS

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Sep 18 13:47:27 PDT 2022


commit 9944926ceb4c39de216e512f60f1841d25e267f1
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sun Sep 18 03:15:12 2022 -0700

    sys/vfs/hammer2: Avoid unused warning when !INVARIANTS
    
    Use xchain local variable.
    error: variable 'xchain' set but not used [-Werror,-Wunused-but-set-variable]

Summary of changes:
 sys/vfs/hammer2/hammer2_chain.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9944926ceb4c39de216e512f60f1841d25e267f1


-- 
DragonFly BSD source repository


More information about the Commits mailing list