diff --git a/core/cfs/cfs-coffee.c b/core/cfs/cfs-coffee.c index 4fa55b109..cbfd93e51 100644 --- a/core/cfs/cfs-coffee.c +++ b/core/cfs/cfs-coffee.c @@ -799,7 +799,6 @@ create_log(struct file *file, struct file_header *hdr) static int merge_log(coffee_page_t file_page, int extend) { - coffee_page_t log_page; struct file_header hdr, hdr2; int fd, n; cfs_offset_t offset; @@ -808,7 +807,6 @@ merge_log(coffee_page_t file_page, int extend) int i; read_header(&hdr, file_page); - log_page = hdr.log_page; fd = cfs_open(hdr.name, CFS_READ); if(fd < 0) {