lsm_cursor.c:847: 'c' may be used uninitialized in this function