]> sourceware.org Git - lvm2.git/commit
gcc: fix warning about uninitialized use 1523580926
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2024 14:20:50 +0000 (15:20 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2024 16:48:28 +0000 (17:48 +0100)
commit8ada61dbedf5e403e61d3618254249a5247e437a
tree04029cd7d260145d75bf52e0dea35fce70929b04
parent0aa585a29f74250093f38dc5630bfb748a834378
gcc: fix warning about uninitialized use

get_sizes_lockspace() may not always initilize all passed values
in case the bitfield would not trigger if() path.
So just in case keep the path initilized.

TODO: maybe add INTERNAL_ERROR to get_sizes_lockspace().
daemons/lvmlockd/lvmlockd-sanlock.c
This page took 0.038288 seconds and 5 git commands to generate.