From a00c25628e3201135135c5b2ba00d7327eec2850 Mon Sep 17 00:00:00 2001 From: chme Date: Mon, 23 Feb 2015 22:21:06 +0100 Subject: [PATCH 1/2] fix warning for unused label "mpd_fail" when compiled without mpd support --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 606dfcc9..21df2baa 100644 --- a/src/main.c +++ b/src/main.c @@ -825,9 +825,9 @@ main(int argc, char **argv) #ifdef MPD DPRINTF(E_LOG, L_MAIN, "MPD deinit\n"); mpd_deinit(); + mpd_fail: #endif - mpd_fail: DPRINTF(E_LOG, L_MAIN, "Player deinit\n"); player_deinit(); From 5bf43b05dbeb6244182091a3d159cfbd61029486 Mon Sep 17 00:00:00 2001 From: chme Date: Mon, 23 Feb 2015 22:23:01 +0100 Subject: [PATCH 2/2] fix compile error when compiled with --enable-itunes --- src/filescanner_itunes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/filescanner_itunes.c b/src/filescanner_itunes.c index c73a42f0..ad14c866 100644 --- a/src/filescanner_itunes.c +++ b/src/filescanner_itunes.c @@ -28,6 +28,7 @@ #include #include #include +#include #include