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(
}
}
if (arExcludeList > 0)
{
bool bExclude = false;
for (int j = 0; j < nLenList; j++)
{
......@@ -320,7 +318,7 @@ javaPluginError jfw_plugin_getAllJavaInfos(
}
if (bExclude == true)
continue;
}
vecVerifiedInfos.push_back(*i);
}
//Now vecVerifiedInfos contains all those JREs which meet the version requirements
......@@ -424,8 +422,6 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
return JFW_PLUGIN_E_FAILED_VERSION;
}
if (arExcludeList > 0)
{
for (int i = 0; i < nLenList; i++)
{
rtl::OUString sExVer(arExcludeList[i]);
......@@ -446,7 +442,6 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
if (nRes == 0)
return JFW_PLUGIN_E_FAILED_VERSION;
}
}
*ppInfo = createJavaInfo(aVendorInfo);
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