summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-10-13 14:20:29 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-10-14 14:17:16 +0000
commit38ed9c34c69b3e689ed0b5dd330dc9e0de8f7f14 (patch)
treece20ce387d3563ff361a3e69c61ff2cd1053dcb6 /searchcore
parent41c29e6db62176789c49fc47aacf06bb1bbad69f (diff)
remove unused PCODE_MONITORQUERY
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/search/fnet_engine.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/search/fnet_engine.cpp b/searchcore/src/vespa/searchcore/fdispatch/search/fnet_engine.cpp
index d6f9ee479e9..bd4c585f27e 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/search/fnet_engine.cpp
+++ b/searchcore/src/vespa/searchcore/fdispatch/search/fnet_engine.cpp
@@ -223,15 +223,10 @@ FastS_FNET_Engine::Ping()
return;
}
_monitorQuery->markBusy();
- uint32_t features = 0;
- uint32_t qflags = 0;
- qflags |= search::fs4transport::MQFLAG_REPORT_ACTIVEDOCS;
- if (qflags != 0) {
- features |= search::fs4transport::MQF_QFLAGS;
- }
+ uint32_t features = search::fs4transport::MQF_QFLAGS;
+ uint32_t qflags = search::fs4transport::MQFLAG_REPORT_ACTIVEDOCS;
_monitorQuery->_features |= features;
_monitorQuery->_qflags = qflags;
- _monitorQuery->UpdateCompatPCODE();
_conn->PostPacket(_monitorQuery, FastS_NoID32());
}
}