Fix warnings reported by Clang

This commit is contained in:
Lynix
2017-02-17 00:21:28 +01:00
parent c8d046158c
commit dc158d06a8
11 changed files with 38 additions and 40 deletions

View File

@@ -835,7 +835,6 @@ namespace Nz
if (!PixelFormat::IsCompressed(m_sharedImage->format))
{
const PixelFormatInfo& info = PixelFormat::GetInfo(m_sharedImage->format);
const UInt8* pixel = GetConstPixels();
Bitset<> workingBitset;
std::size_t pixelCount = m_sharedImage->width * m_sharedImage->height * ((m_sharedImage->type == ImageType_Cubemap) ? 6 : m_sharedImage->depth);