Skip to content
Extraits de code Groupes Projets
Valider 3d1260cf rédigé par Elliu's avatar Elliu
Parcourir les fichiers

Fix warnings

parent 1ed28678
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!16Add a way to execute a Lua file with Vivy in a click-click way
...@@ -56,4 +56,7 @@ ScriptOption::getSignature() const noexcept ...@@ -56,4 +56,7 @@ ScriptOption::getSignature() const noexcept
case Type::Number: return signatureNumber; case Type::Number: return signatureNumber;
case Type::Boolean: return signatureBoolean; case Type::Boolean: return signatureBoolean;
} }
// Let the program crash
qFatal("UNREACHABLE");
} }
...@@ -88,9 +88,9 @@ MpvContainer::handleMpvEvent(mpv_event *event) noexcept ...@@ -88,9 +88,9 @@ MpvContainer::handleMpvEvent(mpv_event *event) noexcept
mpv_event_property *prop; mpv_event_property *prop;
}; };
auto checkProp = [](mpv_event_property *prop, const std::string &str, auto checkProp = [](mpv_event_property *prop_, const std::string &str,
int format) noexcept -> bool { int format) noexcept -> bool {
return (prop->name == str) && (prop->format == format); return (prop_->name == str) && (prop_->format == format);
}; };
switch (event->event_id) { switch (event->event_id) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter