removed unneccessary local variable

This commit is contained in:
Sears Russell 2008-09-28 01:02:36 +00:00
parent 7e54d72f18
commit b6c3f60126

View file

@ -477,7 +477,7 @@ lsn_t debug_lsn = -1;
static LogEntry * readLogEntry() {
LogEntry * ret = 0;
lsn_t size;
lsn_t entrySize;
lsn_t bytesRead = read(roLogFD, &size, sizeof(lsn_t));
if(bytesRead != sizeof(lsn_t)) {
@ -543,8 +543,7 @@ static LogEntry * readLogEntry() {
}
}
entrySize = sizeofLogEntry(ret);
assert(size == entrySize);
assert(sizeofLogEntry(ret) == size);
return ret;
}