Skip to content

Commit 3a40727

Browse files
author
Christian Hergert
committed
collection: remove spurious check for NULL index options.
Fixes CDRIVER-388
1 parent d2cc0bc commit 3a40727

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/mongoc/mongoc-collection.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,6 @@ mongoc_collection_create_index (mongoc_collection_t *collection,
797797

798798
bson_return_val_if_fail (collection, false);
799799
bson_return_val_if_fail (keys, false);
800-
bson_return_val_if_fail (opt, false);
801800

802801
def_opt = mongoc_index_opt_get_default ();
803802
opt = opt ? opt : def_opt;

0 commit comments

Comments
 (0)