src/lsm/lsm_cursor.c:1203:12: warning: variable 'cmp' may be uninitialized when used here [-Wconditional-uninitialized]