summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlavio Stanchina <fstanchina@users.sourceforge.net>2005-10-10 19:36:25 +0000
committerFlavio Stanchina <fstanchina@users.sourceforge.net>2005-10-10 19:36:25 +0000
commit5d816357ff12ad5a84a9689c5b2a7292f155fafa (patch)
treed37499dec792350aceb556c61b9ced7eb24bbafc /src
parent41825005dca2ae4b9418e07d68edb93da6b43ca5 (diff)
downloadlibgpod-5d816357ff12ad5a84a9689c5b2a7292f155fafa.tar.gz
libgpod-5d816357ff12ad5a84a9689c5b2a7292f155fafa.tar.xz
libgpod-5d816357ff12ad5a84a9689c5b2a7292f155fafa.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/db-artwork-parser.c4
1 files changed, 4 insertions, 0 deletions
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) {