Browse Source

ckdb - remove useless compile warning

master
kanoi 8 years ago
parent
commit
798ad0cc28
  1. 4
      src/ckdb.c
  2. 2
      src/ckdb.h

4
src/ckdb.c

@ -3824,6 +3824,8 @@ static void *breaker(void *arg)
break; break;
K_WLOCK(breakqueue_free); K_WLOCK(breakqueue_free);
bq_item = NULL;
was_null = false;
if (mythread == 0 && reload && reload_breakdown_threads_delta != 0) { if (mythread == 0 && reload && reload_breakdown_threads_delta != 0) {
breaker_delta = reload_breakdown_threads_delta; breaker_delta = reload_breakdown_threads_delta;
reload_breakdown_threads_delta = 0; reload_breakdown_threads_delta = 0;
@ -3831,8 +3833,6 @@ static void *breaker(void *arg)
breaker_delta = cmd_breakdown_threads_delta; breaker_delta = cmd_breakdown_threads_delta;
cmd_breakdown_threads_delta = 0; cmd_breakdown_threads_delta = 0;
} else { } else {
bq_item = NULL;
was_null = false;
if (reload) if (reload)
count = reload_done_breakqueue_store->count; count = reload_done_breakqueue_store->count;
else else

2
src/ckdb.h

@ -58,7 +58,7 @@
#define DB_VLOCK "1" #define DB_VLOCK "1"
#define DB_VERSION "1.0.7" #define DB_VERSION "1.0.7"
#define CKDB_VERSION DB_VERSION"-2.407" #define CKDB_VERSION DB_VERSION"-2.408"
#define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__ #define WHERE_FFL_HERE __FILE__, __func__, __LINE__

Loading…
Cancel
Save