mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 20:26:14 +01:00
Fix -Wunused-variable warnings
This commit is contained in:
@@ -158,8 +158,6 @@ namespace
|
||||
// We don't support n-channel formats
|
||||
};
|
||||
|
||||
bool g_WIC2 = false;
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
BOOL WINAPI InitializeWICFactory(PINIT_ONCE, PVOID, PVOID* ifactory) noexcept
|
||||
{
|
||||
@@ -175,7 +173,6 @@ namespace
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
// WIC2 is available on Windows 10, Windows 8.x, and Windows 7 SP1 with KB 2670838 installed
|
||||
g_WIC2 = true;
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user