Kaydet (Commit) 49d43265 authored tarafından David Tardon's avatar David Tardon

WaE: ordered comparison of pointer with integer zero

üst c475316c
...@@ -294,8 +294,6 @@ javaPluginError jfw_plugin_getAllJavaInfos( ...@@ -294,8 +294,6 @@ javaPluginError jfw_plugin_getAllJavaInfos(
} }
} }
if (arExcludeList > 0)
{
bool bExclude = false; bool bExclude = false;
for (int j = 0; j < nLenList; j++) for (int j = 0; j < nLenList; j++)
{ {
...@@ -320,7 +318,7 @@ javaPluginError jfw_plugin_getAllJavaInfos( ...@@ -320,7 +318,7 @@ javaPluginError jfw_plugin_getAllJavaInfos(
} }
if (bExclude == true) if (bExclude == true)
continue; continue;
}
vecVerifiedInfos.push_back(*i); vecVerifiedInfos.push_back(*i);
} }
//Now vecVerifiedInfos contains all those JREs which meet the version requirements //Now vecVerifiedInfos contains all those JREs which meet the version requirements
...@@ -424,8 +422,6 @@ javaPluginError jfw_plugin_getJavaInfoByPath( ...@@ -424,8 +422,6 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
return JFW_PLUGIN_E_FAILED_VERSION; return JFW_PLUGIN_E_FAILED_VERSION;
} }
if (arExcludeList > 0)
{
for (int i = 0; i < nLenList; i++) for (int i = 0; i < nLenList; i++)
{ {
rtl::OUString sExVer(arExcludeList[i]); rtl::OUString sExVer(arExcludeList[i]);
...@@ -446,7 +442,6 @@ javaPluginError jfw_plugin_getJavaInfoByPath( ...@@ -446,7 +442,6 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
if (nRes == 0) if (nRes == 0)
return JFW_PLUGIN_E_FAILED_VERSION; return JFW_PLUGIN_E_FAILED_VERSION;
} }
}
*ppInfo = createJavaInfo(aVendorInfo); *ppInfo = createJavaInfo(aVendorInfo);
return errcode; return errcode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment