From: Byrial Jensen Date: Mon, 16 Apr 2012 11:07:01 +0000 (+0200) Subject: Remove unused variable first_entry from function find_key X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=b67e67cd4676f466611db765230669be89893b09;p=xboard.git Remove unused variable first_entry from function find_key --- 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; } } }