mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
Automatically init/exit libmdb code
mdb_init() and mdb_exit() are now deprecated.
This commit is contained in:
@@ -246,8 +246,6 @@ gint nmenu_items = sizeof (menu_items) / sizeof (menu_items[0]);
|
||||
/* initialize the SQL engine */
|
||||
sql = mdb_sql_init();
|
||||
#endif
|
||||
/* initialize MDB Tools library */
|
||||
mdb_init();
|
||||
|
||||
#ifdef HAVE_GNOME
|
||||
/* Initialize GNOME */
|
||||
@@ -320,7 +318,6 @@ gint nmenu_items = sizeof (menu_items) / sizeof (menu_items[0]);
|
||||
/* free MDB Tools library */
|
||||
mdb_sql_exit(sql);
|
||||
#endif
|
||||
mdb_exit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user