From 03291b27d13ca245f5cad16ea3e8829517b1d452 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 12 Dec 2020 12:49:35 +0100 Subject: [PATCH] Mark unused --- src/osd/osdbase.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osd/osdbase.cpp b/src/osd/osdbase.cpp index fb429e2e7..0ddb815c0 100644 --- a/src/osd/osdbase.cpp +++ b/src/osd/osdbase.cpp @@ -360,6 +360,10 @@ void OSDBase::RepeatModeChanged(PlaylistSequence::RepeatMode mode) { QString OSDBase::ReplaceMessage(const MessageType type, const QString &message, const Song &song) { +#ifndef HAVE_DBUS + Q_UNUSED(type) +#endif + bool html_escaped = false; QString newline = "";