Skip to content

Commit 210ea55

Browse files
author
Christian Hergert
committed
examples: remove some debug code.
1 parent 839e66b commit 210ea55

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/mongoc-dump.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ mongoc_dump_collection (mongoc_client_t *client,
4949
{
5050
mongoc_collection_t *col;
5151
mongoc_cursor_t *cursor;
52-
mongoc_iovec_t iov;
5352
const bson_t *doc;
5453
bson_error_t error;
5554
bson_t query = BSON_INITIALIZER;
@@ -240,14 +239,11 @@ main (int argc,
240239
}
241240
}
242241

243-
#if 0
244242
uri = bson_strdup_printf ("mongodb://%s:%hu/%s?ssl=%s",
245243
host,
246244
port,
247245
database ? database : "",
248246
ssl ? "true" : "false");
249-
#endif
250-
uri = NULL;
251247

252248
if (!(client = mongoc_client_new (uri))) {
253249
fprintf (stderr, "Invalid connection URI: %s\n", uri);

0 commit comments

Comments
 (0)