projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
17aa28b
)
Remove unused variable first_entry from function find_key
author
Byrial Jensen
<byrial@vip.cybercity.dk>
Mon, 16 Apr 2012 11:07:01 +0000 (13:07 +0200)
committer
Byrial Jensen
<byrial@vip.cybercity.dk>
Mon, 16 Apr 2012 11:20:59 +0000 (13:20 +0200)
book.c
patch
|
blob
|
history
diff --git
a/book.c
b/book.c
index
1eb0d68
..
ebf242f
100644
(file)
--- 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;
}
}
}