aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs/libufs.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-11-13 21:29:56 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-11-13 21:29:56 +0000
commitf183fb162c1dbc58cc3f7e2c27891bd881db2bf2 (patch)
tree26a93605354b6e9d5c353d52f37583605751c49b /lib/libufs/libufs.h
parentd54474e63b501c18d61de3bedd0337cc8a633926 (diff)
downloadsrc-f183fb162c1dbc58cc3f7e2c27891bd881db2bf2.tar.gz
src-f183fb162c1dbc58cc3f7e2c27891bd881db2bf2.zip
locks: plug warnings about unitialized variables
They only showed up after I redefined LOCKSTAT_ENABLED to 0. doing_lockprof in mutex.c is a real (but harmless) bug. Should the value be non-zero it will do checks for lock profiling which would otherwise be skipped. state in rwlock.c is a wart from the compiler, the value can't be used if lock profiling is not enabled. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=340410
Diffstat (limited to 'lib/libufs/libufs.h')
0 files changed, 0 insertions, 0 deletions