summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2005-09-10 09:16:49 +0000
committerChristophe Fergeau <teuf@gnome.org>2005-09-10 09:16:49 +0000
commitfa74997b828edf90e7917e1daa7af7ad103666ea (patch)
treefddc3dd828a69ea5f1d34d2c55200b9b7c2b3278 /tests
parentacb9710adbe3597925f79be9c3b1619cf1c55236 (diff)
downloadlibgpod-tmz-fa74997b828edf90e7917e1daa7af7ad103666ea.tar.gz
libgpod-tmz-fa74997b828edf90e7917e1daa7af7ad103666ea.tar.xz
libgpod-tmz-fa74997b828edf90e7917e1daa7af7ad103666ea.zip
2005-09-10 Christophe Fergeau <teuf@gnome.org>
* 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
Diffstat (limited to 'tests')
-rw-r--r--tests/itdb_main.c6
1 files changed, 3 insertions, 3 deletions
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",