> drivers//block/rbd.c:2124:21: warning: 'current_state' may be used
>> uninitialized in this function [-Wmaybe-uninitialized]
(current_state == OBJECT_EXISTS && state == OBJECT_EXISTS_CLEAN))
drivers//block/rbd.c:2092:23: note: 'current_state'
: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
All warnings (new ones prefixed by >>):
drivers/block/rbd.c: In function 'rbd_object_map_callback':
>> drivers/block/rbd.c:2124:21: warning: 'current_state'
2 matches
Mail list logo