Browse Source

Silence unused warning

master
ckolivas 10 years ago
parent
commit
19ca4d0f8c
  1. 2
      src/ckpool.h

2
src/ckpool.h

@ -187,7 +187,7 @@ struct ckpool_instance {
#ifdef USE_CKDB #ifdef USE_CKDB
#define CKP_STANDALONE(CKP) ((CKP)->standalone == true) #define CKP_STANDALONE(CKP) ((CKP)->standalone == true)
#else #else
#define CKP_STANDALONE(CKP) (true) #define CKP_STANDALONE(CKP) ((CKP) == (CKP)) /* Always true, silences unused warn */
#endif #endif
#define SAFE_HASH_OVERHEAD(HASHLIST) (HASHLIST ? HASH_OVERHEAD(hh, HASHLIST) : 0) #define SAFE_HASH_OVERHEAD(HASHLIST) (HASHLIST ? HASH_OVERHEAD(hh, HASHLIST) : 0)

Loading…
Cancel
Save