Delete unused variables.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18850 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-03-06 11:01:16 +00:00
parent 31fe219109
commit 3b44812c29
2 changed files with 3 additions and 2 deletions

View File

@ -48,6 +48,7 @@
# ifdef _MSC_VER
/* MSVC compatibility code */
# include <io.h>
# define close _close
# define write _write
# define ssize_t int
# endif

View File

@ -1140,8 +1140,6 @@ void
qof_session_begin (QofSession *session, const char * book_id,
gboolean ignore_lock, gboolean create_if_nonexistent)
{
char *p, *access_method, *msg;
int err;
gchar **splituri;
if (!session) return;
@ -1200,6 +1198,8 @@ qof_session_begin (QofSession *session, const char * book_id,
/* If there's a begin method, call that. */
if (session->backend->session_begin)
{
char *msg;
int err;
(session->backend->session_begin)(session->backend, session,
session->book_id, ignore_lock,