CID
1351707 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member offset is not initialized
in this constructor nor in any functions that it calls.
uninit_member: Non-static class member length is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
boost::intrusive::list_member_hook<> queue_item;
- aio_t(void *p, int f) : priv(p), fd(f), rval(-1000) {
+ aio_t(void *p, int f) : priv(p), fd(f), offset(0), length(0), rval(-1000) {
memset(&iocb, 0, sizeof(iocb));
}