From e916363ac5bf5d559db10f9fb97a54d64741ea43 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 23 Sep 2017 18:14:22 +0200 Subject: [PATCH] moviplayer: suppress unused variable warning Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/597b40664fc70f22c1a0e590332330cc4d48baa9 Author: Stefan Seyfried Date: 2017-09-23 (Sat, 23 Sep 2017) --- src/gui/movieplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 1f7e94cac..f8c2c4482 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -2844,6 +2844,8 @@ void CMoviePlayerGui::makeScreenShot(bool autoshot, bool forcover) } } sc->Start(); +#else + (void)forcover; #endif if (autoshot) autoshot_done = true;