Unverified Commit 73b8cdfd authored by Kyle Kloberdanz's avatar Kyle Kloberdanz Committed by GitHub
Browse files

Supress unused variable warnings (#1145)

Building on master results in a few unused variable warnings from the
example code. Specifically the variable `bson_error_t error` was not
being used in some examples, presumable to simplify the example code.

Adding a `BSON_UNUSED (error);` to these locations keeps the example
code simple while also supressing compiler warnings.
parent 77aab859
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment