Simplify confusing logic in ThumbnailCache::getKey()
Checking if (ok)
is always true because ok
was dereferenced right
above so we know the pointer is not null.
Checking if (ok)
is always true because ok
was dereferenced right
above so we know the pointer is not null.