mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 05:29:20 -06:00
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:
parent
31fe219109
commit
3b44812c29
@ -48,6 +48,7 @@
|
||||
# ifdef _MSC_VER
|
||||
/* MSVC compatibility code */
|
||||
# include <io.h>
|
||||
# define close _close
|
||||
# define write _write
|
||||
# define ssize_t int
|
||||
# endif
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user