Skip to content

Commit 309fa62

Browse files
author
mdbmes
authored
BSON_UNUSED in _mongoc_structured_log_append_error (#1930)
1 parent 78fca30 commit 309fa62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libmongoc/src/mongoc/mongoc-structured-log.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ _mongoc_structured_log_append_error (bson_t *bson,
896896
const mongoc_structured_log_builder_stage_t *stage,
897897
const mongoc_structured_log_opts_t *opts)
898898
{
899+
BSON_UNUSED (opts);
899900
const char *key_or_null = stage->arg1.utf8;
900901
const bson_error_t *error_or_null = stage->arg2.error;
901902
if (key_or_null) {

0 commit comments

Comments
 (0)