summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorfstanchina <fstanchina@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2005-10-10 19:36:25 +0000
committerfstanchina <fstanchina@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2005-10-10 19:36:25 +0000
commitec6f121a35833b9535b54341310d2db72078fbbc (patch)
treed37499dec792350aceb556c61b9ced7eb24bbafc /src
parent8dae45f08560545898efacce820b82b82aa94969 (diff)
downloadlibgpod-ec6f121a35833b9535b54341310d2db72078fbbc.tar.gz
libgpod-ec6f121a35833b9535b54341310d2db72078fbbc.tar.xz
libgpod-ec6f121a35833b9535b54341310d2db72078fbbc.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) {