We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839e66b commit 210ea55Copy full SHA for 210ea55
examples/mongoc-dump.c
@@ -49,7 +49,6 @@ mongoc_dump_collection (mongoc_client_t *client,
49
{
50
mongoc_collection_t *col;
51
mongoc_cursor_t *cursor;
52
- mongoc_iovec_t iov;
53
const bson_t *doc;
54
bson_error_t error;
55
bson_t query = BSON_INITIALIZER;
@@ -240,14 +239,11 @@ main (int argc,
240
239
}
241
242
243
-#if 0
244
uri = bson_strdup_printf ("mongodb://%s:%hu/%s?ssl=%s",
245
host,
246
port,
247
database ? database : "",
248
ssl ? "true" : "false");
249
-#endif
250
- uri = NULL;
251
252
if (!(client = mongoc_client_new (uri))) {
253
fprintf (stderr, "Invalid connection URI: %s\n", uri);
0 commit comments