Remove unnecessary code from unjournaled state loader.
This commit is contained in:
parent
f365b9d8f7
commit
f5c81d53be
|
@ -152,13 +152,7 @@ Loggable::load_unjournaled_state ( void )
|
||||||
char buf[BUFSIZ];
|
char buf[BUFSIZ];
|
||||||
|
|
||||||
while ( fscanf( fp, "%X set %[^\n]\n", &id, buf ) == 2 )
|
while ( fscanf( fp, "%X set %[^\n]\n", &id, buf ) == 2 )
|
||||||
{
|
_loggables_unjournaled[ id ] = new Log_Entry( buf );
|
||||||
Log_Entry *e = new Log_Entry( buf );
|
|
||||||
|
|
||||||
_loggables_unjournaled[ id ] = e;
|
|
||||||
|
|
||||||
Loggable *l = Loggable::find( id );
|
|
||||||
}
|
|
||||||
|
|
||||||
fclose( fp );
|
fclose( fp );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue