diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 13:18:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-15 13:18:56 +0100 |
commit | 8814eb4770403dc2c210feb3a3dd2b5078c27c59 (patch) | |
tree | c49e2ff8f7478fa34b6fbc08f465dfefa6fb2285 /jvmfwk | |
parent | f8520e299983c5b6a0ee1720218260e8e0084c7f (diff) |
Remove unused cModule leftovers
Change-Id: Id08194460e9a42896591047e36b3a95e5fbc47be
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/framework.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index 05dd3fdd79c7..d43423df5cf4 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -76,9 +76,8 @@ javaFrameworkError SAL_CALL jfw_findAllJREs(JavaInfo ***pparInfo, sal_Int32 *pSi settings.getJRELocations(); //Use every plug-in library to get Java installations. typedef std::vector<OUString>::const_iterator ci_pl; - int cModule = 0; - for (ci_pl i = vecVendors.begin(); i != vecVendors.end(); ++i, ++cModule) - { + for (ci_pl i = vecVendors.begin(); i != vecVendors.end(); ++i) + { const OUString & vendor = *i; jfw::VersionInfo versionInfo = aVendorSettings.getVersionInformation(vendor); @@ -393,8 +392,7 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo) //Use every vendor to get Java installations. At the first usable //Java the loop will break typedef std::vector<OUString>::const_iterator ci_pl; - int cModule = 0; - for (ci_pl i = vecVendors.begin(); i != vecVendors.end(); ++i, ++cModule) + for (ci_pl i = vecVendors.begin(); i != vecVendors.end(); ++i) { const OUString & vendor = *i; jfw::VersionInfo versionInfo = @@ -660,9 +658,7 @@ javaFrameworkError SAL_CALL jfw_getJavaInfoByPath( //Use every plug-in library to determine if the path represents a //JRE. If a plugin recognized it then the loop will break typedef std::vector<OUString>::const_iterator ci_pl; - int cModule = 0; - for (ci_pl i = vecVendors.begin(); i != vecVendors.end(); - ++i, ++cModule) + for (ci_pl i = vecVendors.begin(); i != vecVendors.end(); ++i) { const OUString & vendor = *i; jfw::VersionInfo versionInfo = |