Kaydet (Commit) 6f94c644 authored tarafından Pierre-André Jacquod's avatar Pierre-André Jacquod

[cppchecker] suppression of unread Variable

üst 7d146bdf
......@@ -350,7 +350,7 @@ PageCache_Impl::PageCache_Impl (sal_uInt16 nPageSize)
PageCache_Impl::~PageCache_Impl()
{
double s_x = 0.0, s_xx = 0.0;
double s_x = 0.0;
sal_Size i, n = m_hash_size;
for (i = 0; i < n; i++)
{
......@@ -364,7 +364,6 @@ PageCache_Impl::~PageCache_Impl()
x += 1;
}
s_x += double(x);
s_xx += double(x) * double(x);
}
double ave = s_x / double(n);
OSL_TRACE("ave hash chain length: %g", ave);
......
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