Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-730

unused-variable warnings when building without OpenSSL

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-beta0
    • Affects Version/s: None
    • Component/s: None
    • None

      src/mongoc/mongoc-client.c: In function '_mongoc_client_new':
      src/mongoc/mongoc-client.c:723:16: warning: unused variable 'iter' [-Wunused-variable]
          bson_iter_t iter;
                      ^
      src/mongoc/mongoc-client.c:722:18: warning: variable 'options' set but not used [-Wunused-but-set-variable]
          const bson_t *options;
                        ^
      src/mongoc/mongoc-client.c: In function '_mongoc_client_new':
      src/mongoc/mongoc-client.c:723:16: warning: unused variable 'iter' [-Wunused-variable]
          bson_iter_t iter;
                      ^
      src/mongoc/mongoc-client.c:722:18: warning: variable 'options' set but not used [-Wunused-but-set-variable]
          const bson_t *options;
                        ^
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: