初始化变量,修复cmake error问题

This commit is contained in:
zhang_xubo
2022-09-19 10:32:28 +08:00
parent 70e1801173
commit bed603290d

View File

@ -2192,7 +2192,7 @@ static void incre_ckpt_pgwr_scan_candidate_list(WritebackContext *wb_context, Ca
int batch_scan_num = 0;
uint32 max_flush_num = 0;
bool am_standby = g_instance.ckpt_cxt_ctl->is_standby_mode;
int shared_buffers;
int shared_buffers = NORMAL_SHARED_BUFFER_NUM;
if (type == CAND_LIST_NVM) {
shared_buffers = NVM_BUFFER_NUM;