Skip to content

Commit

Permalink
gridfs: fix potential uninitialized use.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hergert committed Jun 20, 2014
1 parent 5484f6b commit 0b5c729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mongoc/mongoc-gridfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ mongoc_gridfs_remove_by_filename (mongoc_gridfs_t *gridfs,
bool files_ret;
bool ret = false;
bson_iter_t iter;
bson_t *files_q;
bson_t *chunks_q;
bson_t *files_q = NULL;
bson_t *chunks_q = NULL;
bson_t q = BSON_INITIALIZER;
bson_t fields = BSON_INITIALIZER;
bson_t ar = BSON_INITIALIZER;
Expand Down

0 comments on commit 0b5c729

Please sign in to comment.