Skip to content

Commit c528ba8

Browse files
committed
CID-24875: Fix uninitialized variable
1 parent f1b0c16 commit c528ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/MongoDB/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function executeUpdate($namespace, $zquery, $newObj, array $updateOptions
216216
/*
217217
bson_t *query;
218218
bson_t *update;
219-
mongoc_update_flags_t flags;
219+
mongoc_update_flags_t flags = MONGOC_UPDATE_NONE;
220220
*/
221221
/*** CEF ***/
222222
/*** CIMPL ***/

0 commit comments

Comments
 (0)