mirror of https://github.com/kiwix/libkiwix.git
Removed an unused variable
This commit is contained in:
parent
a52138e5ba
commit
c87add1419
|
@ -1036,9 +1036,6 @@ InternalServer::search_catalog(const RequestContext& request,
|
||||||
kiwix::OPDSDumper& opdsDumper)
|
kiwix::OPDSDumper& opdsDumper)
|
||||||
{
|
{
|
||||||
const auto filter = get_search_filter(request);
|
const auto filter = get_search_filter(request);
|
||||||
const std::string q = filter.hasQuery()
|
|
||||||
? filter.getQuery()
|
|
||||||
: "<Empty query>";
|
|
||||||
std::vector<std::string> bookIdsToDump = mp_library->filter(filter);
|
std::vector<std::string> bookIdsToDump = mp_library->filter(filter);
|
||||||
const auto totalResults = bookIdsToDump.size();
|
const auto totalResults = bookIdsToDump.size();
|
||||||
const size_t count = request.get_optional_param("count", 10UL);
|
const size_t count = request.get_optional_param("count", 10UL);
|
||||||
|
|
Loading…
Reference in New Issue