rbd: silence bogus -Wmaybe-uninitialized warning
authorIlya Dryomov <idryomov@gmail.com>
Tue, 6 Sep 2016 09:15:48 +0000 (11:15 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2016 22:54:26 +0000 (23:54 +0100)
commitd4c2269b3d5d06a8ea434b1841fbcaec336ed396
tree416ad2335f33b48beb562481b6f38e85051e2868
parentb3bbd3f2ab19c8ca319003b4b51ce4c4ca74da06
rbd: silence bogus -Wmaybe-uninitialized warning

drivers/block/rbd.c: In function ‘rbd_watch_cb’:
drivers/block/rbd.c:3690:5: error: ‘struct_v’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
drivers/block/rbd.c:3759:5: note: ‘struct_v’ was declared here

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c