* src/backend/file/gnc-backend-file.c: Don't need to set the

backend error directly after calling gnc_file_be_get_file_lock(),
	  as get_file_lock will set the backend error itself.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8901 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2003-07-17 17:07:12 +00:00
parent 512788fc9a
commit ea7bd97f5f
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2003-07-17 Derek Atkins <derek@ihtfp.com>
* src/backend/file/gnc-backend-file.c: Don't need to set the
backend error directly after calling gnc_file_be_get_file_lock(),
as get_file_lock will set the backend error itself.
2003-07-16 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncInvoice.c: change the description

View File

@@ -135,7 +135,6 @@ file_session_begin(QofBackend *be_start, QofSession *session, const char *book_i
if (!ignore_lock && !gnc_file_be_get_file_lock (be))
{
qof_backend_set_error (be_start, ERR_BACKEND_LOCKED);
g_free (be->lockfile); be->lockfile = NULL;
return;
}