Fix a compile warning.

This commit is contained in:
kishorenc 2020-06-22 19:53:12 +05:30
parent b9b3c58b2c
commit 17a6194d6e
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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) {