Remove superfluous code.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3641 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-02-12 12:58:09 +00:00
parent 0e65e406cb
commit f5ead6d71d

View File

@ -263,7 +263,6 @@ static void
gncPostFileOpen (const char * filename)
{
GNCBook *new_book;
AccountGroup *old_group;
gboolean uh_oh = FALSE;
AccountGroup *new_group;
char * newfile;
@ -288,11 +287,9 @@ gncPostFileOpen (const char * filename)
/* -------------- BEGIN CORE SESSION CODE ------------- */
/* -- this code is almost identical in FileOpen and FileSaveAs -- */
old_group = gnc_book_get_group (gncGetCurrentBook ());
gnc_book_destroy (current_book);
current_book = NULL;
/* load the accounts from the users datafile */
/* but first, check to make sure we've got a book going. */
new_book = gnc_book_new ();