From 49eb02f07a5af44da59008a238e828b4a9532bef Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Apr 2018 14:34:07 +0200 Subject: new loplugin:unusedvariablemore collection of heuristics to look for local variables that are never read from i.e. do not contribute to the surrounding logic This is an expensive plugin, since it walks up the parent tree, so it is off by default. Change-Id: Ib8ba292241bd16adf299e8bba4502cb473513a06 Reviewed-on: https://gerrit.libreoffice.org/52450 Tested-by: Jenkins Reviewed-by: Noel Grandin --- jvmfwk/source/framework.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'jvmfwk/source') diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index 777133212082..17ca11608481 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -275,11 +275,9 @@ javaFrameworkError jfw_startVM( index ++; } //add all options of the arOptions argument - std::vector convertedOptions; for (auto const & ii: arOptions) { OString conv = OUStringToOString(ii, osl_getThreadTextEncoding()); - convertedOptions.push_back(conv); arOpt[index].optionString = const_cast(conv.getStr()); arOpt[index].extraInfo = nullptr; index++; -- cgit