mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
0e65e406cb
commit
f5ead6d71d
@ -263,7 +263,6 @@ static void
|
|||||||
gncPostFileOpen (const char * filename)
|
gncPostFileOpen (const char * filename)
|
||||||
{
|
{
|
||||||
GNCBook *new_book;
|
GNCBook *new_book;
|
||||||
AccountGroup *old_group;
|
|
||||||
gboolean uh_oh = FALSE;
|
gboolean uh_oh = FALSE;
|
||||||
AccountGroup *new_group;
|
AccountGroup *new_group;
|
||||||
char * newfile;
|
char * newfile;
|
||||||
@ -288,8 +287,6 @@ gncPostFileOpen (const char * filename)
|
|||||||
|
|
||||||
/* -------------- BEGIN CORE SESSION CODE ------------- */
|
/* -------------- BEGIN CORE SESSION CODE ------------- */
|
||||||
/* -- this code is almost identical in FileOpen and FileSaveAs -- */
|
/* -- this code is almost identical in FileOpen and FileSaveAs -- */
|
||||||
old_group = gnc_book_get_group (gncGetCurrentBook ());
|
|
||||||
|
|
||||||
gnc_book_destroy (current_book);
|
gnc_book_destroy (current_book);
|
||||||
current_book = NULL;
|
current_book = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user