diff --git a/src/utility.cpp b/src/utility.cpp index 1cf90593..a293743e 100644 --- a/src/utility.cpp +++ b/src/utility.cpp @@ -340,7 +340,6 @@ bool matchJson(const std::string &json1, const std::string &json2, bool compareSourceSettings(const OBSWeakSource &source, const std::string &settings, bool useRegex) { - bool ret = false; std::string currentSettings = getSourceSettings(source); return matchJson(currentSettings, settings, useRegex); }