The pointer is never initialized but gets printed by operator<<.
Luckily outside of that it's unused.
Fixes: https://tracker.ceph.com/issues/74971
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
std::ostream &operator<<(std::ostream &os,
const WriteLogOperationSet &s) {
- os << "cell=" << (void*)s.cell
- << ", extent_ops_appending=" << s.extent_ops_appending
+ os << "extent_ops_appending=" << s.extent_ops_appending
<< ", extent_ops_persist=" << s.extent_ops_persist;
return os;
}
Context *m_on_finish;
public:
bool persist_on_flush;
- BlockGuardCell *cell;
C_Gather *extent_ops_appending;
Context *on_ops_appending;
C_Gather *extent_ops_persist;