mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
00c2494f9b
commit
950f028a46
@ -194,7 +194,7 @@ pgend_book_transfer_begin(Backend *bend, GNCBook *newbook)
|
|||||||
void
|
void
|
||||||
pgend_book_transfer_commit(Backend *bend, GNCBook *newbook)
|
pgend_book_transfer_commit(Backend *bend, GNCBook *newbook)
|
||||||
{
|
{
|
||||||
PGBackend *be = (PGBackend *) bend;
|
/* PGBackend *be = (PGBackend *) bend; */
|
||||||
ENTER (" ");
|
ENTER (" ");
|
||||||
|
|
||||||
LEAVE (" ");
|
LEAVE (" ");
|
||||||
|
@ -641,7 +641,7 @@ gnc_ui_commodity_ok_cb(GtkButton * button,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!w->edit_commodity) {
|
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 {
|
else {
|
||||||
c = w->edit_commodity;
|
c = w->edit_commodity;
|
||||||
|
Loading…
Reference in New Issue
Block a user