Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions src/libmongoc/src/mongoc/mongoc-counters-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,21 +191,21 @@ enum {

#else
/* when counters are disabled, these functions are no-ops */
#define COUNTER(ident, Category, Name, Description) \
static BSON_INLINE void mongoc_counter_##ident##_add (int64_t val) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_inc (void) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_dec (void) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_reset (void) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_count (void) \
{ \
#define COUNTER(ident, Category, Name, Description) \
static BSON_INLINE void mongoc_counter_##ident##_add (BSON_MAYBE_UNUSED int64_t val) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_inc (void) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_dec (void) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_reset (void) \
{ \
} \
static BSON_INLINE void mongoc_counter_##ident##_count (void) \
{ \
}
#include "mongoc-counters.defs"
#undef COUNTER
Expand Down