From ce909a97e60ad161a0f5642f7d4f4db01f9aba2e Mon Sep 17 00:00:00 2001 From: Nicolas Tsiftes Date: Fri, 10 Jun 2011 17:41:46 +0200 Subject: [PATCH] Removed unread stack variable --- core/cfs/cfs-coffee.c | 2 -- 1 file changed, 2 deletions(-) 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) {