We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04aa62 commit 42cea44Copy full SHA for 42cea44
src/libbson/tests/test-bcon-extract.c
@@ -33,9 +33,9 @@ test_double(void)
33
static void
34
test_decimal128(void)
35
{
36
- bson_decimal128_t val;
37
- bson_decimal128_t dec;
38
- bson_t *bcon;
+ bson_decimal128_t val = {0};
+ bson_decimal128_t dec = {0};
+ bson_t *bcon = NULL;
39
40
bson_decimal128_from_string("12", &dec);
41
bcon = BCON_NEW("foo", BCON_DECIMAL128(&dec));
0 commit comments