From b94e5ab9cb7bab9cf43772af9b38aeafb14eeeac Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Tue, 29 May 2018 13:18:07 +0200 Subject: [PATCH] Fixed VS2017 C4101: unreferenced local variable. --- lib/preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index 1a60b9664..37aef0572 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -691,7 +691,7 @@ std::string Preprocessor::getcode(const std::string &filedata, const std::string std::string ret; try { ret = getcode(tokens1, cfg, files, filedata.find("#file") != std::string::npos); - } catch (const simplecpp::Output &o) { + } catch (const simplecpp::Output &) { ret.clear(); } return ret;