Skip to content

Commit c55b224

Browse files
authored
CDRIVER-4372 initialize mongocrypt_query_type_t value (#1013)
1 parent 8f995d1 commit c55b224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmongoc/src/mongoc/mongoc-crypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ _mongoc_crypt_explicit_encrypt (_mongoc_crypt_t *crypt,
11811181
}
11821182

11831183
if (query_type != NULL) {
1184-
mongocrypt_query_type_t converted;
1184+
mongocrypt_query_type_t converted = 0;
11851185

11861186
switch (*query_type) {
11871187
case MONGOC_ENCRYPT_QUERY_TYPE_EQUALITY:

0 commit comments

Comments
 (0)