diff options
author | Flavio Stanchina <fstanchina@users.sourceforge.net> | 2005-10-10 19:36:25 +0000 |
---|---|---|
committer | Flavio Stanchina <fstanchina@users.sourceforge.net> | 2005-10-10 19:36:25 +0000 |
commit | f532f816cc4e478523932dc3ce914b840f5c06bb (patch) | |
tree | d37499dec792350aceb556c61b9ced7eb24bbafc | |
parent | 5b02248eb39cb1cdd1ca6f7daf0ce34585c4225c (diff) | |
download | libgpod-tmz-f532f816cc4e478523932dc3ce914b840f5c06bb.tar.gz libgpod-tmz-f532f816cc4e478523932dc3ce914b840f5c06bb.tar.xz libgpod-tmz-f532f816cc4e478523932dc3ce914b840f5c06bb.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
-rw-r--r-- | src/db-artwork-parser.c | 4 |
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) { |