From fa74997b828edf90e7917e1daa7af7ad103666ea Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sat, 10 Sep 2005 09:16:49 +0000 Subject: 2005-09-10 Christophe Fergeau * configure.ac: * src/itdb_itunesdb.c: (get_mhod_type), (get_mhod), (get_mhod_string), (get_playlist), (get_mhit), (itdb_shuffle_write_file): * src/itdb_playlist.c: (itdb_spl_update_all): * tests/itdb_main.c: (main): fixed compilation warnings to be able to compile with -Werror git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1082 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- tests/itdb_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/itdb_main.c b/tests/itdb_main.c index fd81cff..2178af3 100644 --- a/tests/itdb_main.c +++ b/tests/itdb_main.c @@ -43,15 +43,15 @@ int main (int argc, char *argv[]) { + GError *error=NULL; + Itdb_iTunesDB *itdb; + #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif - GError *error=NULL; - Itdb_iTunesDB *itdb; - if (argc == 2) itdb = itdb_parse_file (argv[1], &error); else itdb = itdb_parse_file ("/home/jcs/.gtkpod/iTunesDB20050102", -- cgit