mongodb/mongo-c-driver — pull request #38 by noa-- (2012-04-05 17:18:28+00:00)
Title: Initialize errstr in bson_empty

It seems like bson_empty should work even without first calling bson_init. Without this fix errstr is set to garbage in that case, which caused a bug in my debugging output.

(Mentioned here: https://github.com/mongodb/mongo-c-driver/pull/36 )