Skip to content

Commit b9b1c0b

Browse files
committed
CDRIVER-959 fix MinGW-W64 warning in counters code
1 parent c4e5eb7 commit b9b1c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-counters-private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ enum {
141141
#define COUNTER(ident, Category, Name, Description) \
142142
static BSON_INLINE void mongoc_counter_##ident##_add (int64_t val) \
143143
{ \
144-
_mongoc_counter_add ( \
144+
(void) _mongoc_counter_add ( \
145145
__mongoc_counter_##ident.cpus[_mongoc_sched_getcpu ()] \
146146
.slots[COUNTER_##ident % SLOTS_PER_CACHELINE], \
147147
val); \

0 commit comments

Comments
 (0)