fix compiler warning & error

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6483 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2002-01-02 11:20:05 +00:00
parent 00c2494f9b
commit 950f028a46
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ pgend_book_transfer_begin(Backend *bend, GNCBook *newbook)
void
pgend_book_transfer_commit(Backend *bend, GNCBook *newbook)
{
PGBackend *be = (PGBackend *) bend;
/* PGBackend *be = (PGBackend *) bend; */
ENTER (" ");
LEAVE (" ");

View File

@ -641,7 +641,7 @@ gnc_ui_commodity_ok_cb(GtkButton * button,
}
if (!w->edit_commodity) {
c = gnc_commodity_new(fullname, namespace, mnemonic, code, fraction, gnc_get_current_book());
c = gnc_commodity_new(fullname, namespace, mnemonic, code, fraction);
}
else {
c = w->edit_commodity;