From f532f816cc4e478523932dc3ce914b840f5c06bb Mon Sep 17 00:00:00 2001 From: Flavio Stanchina Date: Mon, 10 Oct 2005 19:36:25 +0000 Subject: Added a couple of #ifndef DEBUG_ARTWORKDB to db-artwork-parser.c, otherwise it wouldn't compile with -Werror. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1114 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/db-artwork-parser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c index 7cc7b82..99473e8 100644 --- a/src/db-artwork-parser.c +++ b/src/db-artwork-parser.c @@ -31,6 +31,7 @@ typedef int (*ParseListItem)(DBParseContext *ctx, Itdb_iTunesDB *db, GError *error); +#ifndef DEBUG_ARTWORKDB static Itdb_Track * get_song_by_dbid (Itdb_iTunesDB *db, guint64 id) { @@ -46,6 +47,7 @@ get_song_by_dbid (Itdb_iTunesDB *db, guint64 id) } return NULL; } +#endif static int @@ -92,7 +94,9 @@ static int parse_mhni (DBParseContext *ctx, iPodSong *song, GError *error) { MhniHeader *mhni; +#ifndef DEBUG_ARTWORKDB Itdb_Image *thumb; +#endif mhni = db_parse_context_get_m_header (ctx, MhniHeader, "mhni"); if (mhni == NULL) { -- cgit