From b67e67cd4676f466611db765230669be89893b09 Mon Sep 17 00:00:00 2001 From: Byrial Jensen Date: Mon, 16 Apr 2012 13:07:01 +0200 Subject: [PATCH] Remove unused variable first_entry from function find_key --- book.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/book.c b/book.c index 1eb0d68..ebf242f 100644 --- a/book.c +++ b/book.c @@ -420,7 +420,7 @@ int find_key (FILE *f, uint64 key, entry_t *entry) { int first, last, middle; - entry_t first_entry=entry_none, last_entry,middle_entry; + entry_t last_entry,middle_entry; first=-1; if(fseek(f,-16,SEEK_END)){ *entry=entry_none; @@ -442,7 +442,6 @@ find_key (FILE *f, uint64 key, entry_t *entry) last_entry=middle_entry; }else{ first=middle; - first_entry=middle_entry; } } } -- 1.7.0.4