mirror of
https://github.com/typesense/typesense.git
synced 2025-05-19 21:22:25 +08:00
Fix a compile warning.
This commit is contained in:
parent
b9b3c58b2c
commit
17a6194d6e
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user