From f9897d4c11962abc122f2fc16158af52cb57562c Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Wed, 8 Feb 2017 19:35:10 +0000 Subject: [PATCH] Fix unused variable compiler warning --- src/api/plugin/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/plugin/plugin.cpp b/src/api/plugin/plugin.cpp index 6b448b63..379da9eb 100644 --- a/src/api/plugin/plugin.cpp +++ b/src/api/plugin/plugin.cpp @@ -179,7 +179,7 @@ bool Plugin::DoFormIDsOverlap(const PluginInterface& plugin) const { else return true; } - } catch (std::bad_cast& e) { + } catch (std::bad_cast&) { BOOST_LOG_TRIVIAL(error) << "Tried to check if FormIDs overlapped with a non-Plugin implementation of PluginInterface."; }