summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 19:06:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 19:06:48 +0200
commit02315362782d6d28c9d5f8bfcce278cdbee0e98b (patch)
treee2fac3b42577821dff7503fd6793ca6720d650a8 /slideshow
parent5a320d1ae20b58e839bb9f8a7deef0c837d0cce5 (diff)
-Werror,-Wunused-parameter
Change-Id: Ic46e1113af5e88a859273f76f850dbb00939c621
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index b95e0988bc5d..c11aaf525a25 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -469,7 +469,9 @@ namespace slideshow
rRangePix.getMinY(),
rRangePix.getMaxX() - rRangePix.getMinX(),
rRangePix.getMaxY() - rRangePix.getMinY() );
-#if HAVE_FEATURE_GLTF
+#if !HAVE_FEATURE_GLTF
+ (void)rMimeType;
+#else
if( avmedia::IsModel(rMimeType) )
{
mpEventHandlerParent.reset(new Window(pWindow, WB_NOBORDER|WB_NODIALOGCONTROL));