fix build: Remove unused refs
Sparkd release builds were failing with warnings-as-errors about unused refs
This commit is contained in:
1 parent
66a1d19dd4
commit
f1ddd8ef6a
1 file changed
+2
-2
@@ -224,10 +224,10 @@ void DatabentoDatahandler::run(
|
||||
LOG(md, Error, "Timed out waiting for data");
|
||||
break;
|
||||
}
|
||||
if (auto* bbo = record->GetIf<databento::Mbp1Msg>()) {
|
||||
if (record->GetIf<databento::Mbp1Msg>() != nullptr) {
|
||||
process_bbo(*record);
|
||||
}
|
||||
if (auto* def = record->GetIf<databento::InstrumentDefMsg>()) {
|
||||
if (record->GetIf<databento::InstrumentDefMsg>() != nullptr) {
|
||||
process_security(*record);
|
||||
}
|
||||
} catch (const databento::TcpError& error) {
|
||||
|
||||
Reference in new issue
Block a user