Skip to content

Commit 714db7b

Browse files
committed
CDRIVER-643: Fix 'missing braces around initializer'
1 parent de9547a commit 714db7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-server-description.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
static uint8_t kMongocEmptyBson[] = { 5, 0, 0, 0, 0 };
3131

32-
static bson_oid_t kObjectIdZero = { 0 };
32+
static bson_oid_t kObjectIdZero = { {0} };
3333

3434
/* Destroy allocated resources within @description, but don't free it */
3535
void

0 commit comments

Comments
 (0)