Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Fix a compile warning.

kishorenc17a6194d6e11
diff --git a/.circleci/config.yml b/.circleci/config.yml
index a5d2dc2f..765bc4ae 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -17,9 +17,6 @@ jobs:
- external-Linux-cache-{{ .Branch }}-{{ checksum "last-changed-git-sha-for-dependency-listing" }}
- external-Linux-cache-{{ .Branch }}
- external-Linux-cache
- - run:
- name: debug
- command: ls -latr /usr/local/lib/
- run:
name: build
command: $PROJECT_DIR/build.sh
diff --git a/src/index.cpp b/src/index.cpp
index 6384228f..66b0a299 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1463,7 +1463,7 @@ void Index::score_results(const std::vector<sort_by> & sort_fields, const uint16
}
const int64_t default_score = 0;
- int64_t scores[3];
+ int64_t scores[3] = {0};
// avoiding loop
if(sort_fields.size() > 0) {