Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions faiss/impl/ResultHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ struct RangeSearchBlockResultHandler : BlockResultHandler<C, use_sel> {
try {
// finalize the partial result
pres.finalize();
} catch (const faiss::FaissException& e) {
} catch ([[maybe_unused]] const faiss::FaissException& e) {
// Do nothing if allocation fails in finalizing partial results.
#ifndef NDEBUG
std::cerr << e.what() << std::endl;
Expand Down Expand Up @@ -598,7 +598,7 @@ struct RangeSearchBlockResultHandler : BlockResultHandler<C, use_sel> {
if (partial_results.size() > 0) {
RangeSearchPartialResult::merge(partial_results);
}
} catch (const faiss::FaissException& e) {
} catch ([[maybe_unused]] const faiss::FaissException& e) {
// Do nothing if allocation fails in merge.
#ifndef NDEBUG
std::cerr << e.what() << std::endl;
Expand Down
Loading