diff options
author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-09-08 00:25:47 +0200 |
---|---|---|
committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-09-08 00:25:47 +0200 |
commit | 7a3b97bf1d1b53c9c6454515fb8cdbd51de71950 (patch) | |
tree | e6bff564fee4478562ac67205d0e5baee810f4e3 /src/mfs_cleanup_db.c | |
parent | e8fdc62452fc974b956a8effef8b521072273808 (diff) |
- Put db_path into musicfs.h
- Got ride of some warnings
Diffstat (limited to 'src/mfs_cleanup_db.c')
-rw-r--r-- | src/mfs_cleanup_db.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mfs_cleanup_db.c b/src/mfs_cleanup_db.c index 1dac260..e4eb70b 100644 --- a/src/mfs_cleanup_db.c +++ b/src/mfs_cleanup_db.c @@ -26,8 +26,6 @@ #include <debug.h> #include <musicfs.h> -extern char *db_path; - void mfs_delete_from_path(sqlite3 *handle, const char *path) { sqlite3_stmt *st; @@ -63,8 +61,8 @@ mfs_cleanup_db(sqlite3 *handle) { DEBUG("cleaning up db\n"); /* sqlite doesn't support deleting from multiple tables at the same time :-( */ - sqlite3_stmt *st, *st_; - int res, res_; + sqlite3_stmt *st; + int res; const char *path; |