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

Update mongoc-counters.defs

    • Type: Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • TBD
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None
    • Environment:
      mingw-w64 with gcc 4.6.3

      I think the 'mongoc-counters.defs' file might be a little outdated?

      In file included from mongoc/mongoc-counters-private.h:164:0,
                       from mongoc/mongoc-client-pool.c:18:
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_total_add':
      mongoc/mongoc-counters.defs:18:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_total_add':
      mongoc/mongoc-counters.defs:19:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_query_add':
      mongoc/mongoc-counters.defs:20:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_query_add':
      mongoc/mongoc-counters.defs:21:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_getmore_add':
      mongoc/mongoc-counters.defs:22:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_getmore_add':
      mongoc/mongoc-counters.defs:23:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_insert_add':
      mongoc/mongoc-counters.defs:24:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_insert_add':
      mongoc/mongoc-counters.defs:25:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_delete_add':
      mongoc/mongoc-counters.defs:26:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_delete_add':
      mongoc/mongoc-counters.defs:27:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_update_add':
      mongoc/mongoc-counters.defs:28:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_update_add':
      mongoc/mongoc-counters.defs:29:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_killcursors_add':
      mongoc/mongoc-counters.defs:30:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_killcursors_add':
      mongoc/mongoc-counters.defs:31:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_msg_add':
      mongoc/mongoc-counters.defs:32:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_msg_add':
      mongoc/mongoc-counters.defs:33:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_egress_reply_add':
      mongoc/mongoc-counters.defs:34:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_op_ingress_reply_add':
      mongoc/mongoc-counters.defs:35:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_cursors_active_add':
      mongoc/mongoc-counters.defs:38:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_cursors_disposed_add':
      mongoc/mongoc-counters.defs:39:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_clients_active_add':
      mongoc/mongoc-counters.defs:42:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_clients_disposed_add':
      mongoc/mongoc-counters.defs:43:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_streams_active_add':
      mongoc/mongoc-counters.defs:46:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_streams_disposed_add':
      mongoc/mongoc-counters.defs:47:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_streams_egress_add':
      mongoc/mongoc-counters.defs:48:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_streams_ingress_add':
      mongoc/mongoc-counters.defs:49:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_streams_timeout_add':
      mongoc/mongoc-counters.defs:50:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_client_pools_active_add':
      mongoc/mongoc-counters.defs:53:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_client_pools_disposed_add':
      mongoc/mongoc-counters.defs:54:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_protocol_ingress_error_add':
      mongoc/mongoc-counters.defs:57:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_auth_failure_add':
      mongoc/mongoc-counters.defs:60:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_auth_success_add':
      mongoc/mongoc-counters.defs:61:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_dns_failure_add':
      mongoc/mongoc-counters.defs:64:1: warning: value computed is not used [-Wunused-value]
      mongoc/mongoc-counters.defs: In function 'mongoc_counter_dns_success_add':
      mongoc/mongoc-counters.defs:65:1: warning: value computed is not used [-Wunused-value]
      

            Assignee:
            backlog-c-driver [DO NOT USE] Backlog - C Driver Team
            Reporter:
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: