From f5c81d53bec459bbc867a4f596e1ff691e324858 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 11 Jan 2009 18:09:33 -0600 Subject: [PATCH] Remove unnecessary code from unjournaled state loader. --- Timeline/Loggable.C | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Timeline/Loggable.C b/Timeline/Loggable.C index bc0225b..fcee9b0 100644 --- a/Timeline/Loggable.C +++ b/Timeline/Loggable.C @@ -152,13 +152,7 @@ Loggable::load_unjournaled_state ( void ) char buf[BUFSIZ]; while ( fscanf( fp, "%X set %[^\n]\n", &id, buf ) == 2 ) - { - Log_Entry *e = new Log_Entry( buf ); - - _loggables_unjournaled[ id ] = e; - - Loggable *l = Loggable::find( id ); - } + _loggables_unjournaled[ id ] = new Log_Entry( buf ); fclose( fp );