mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
std::ignore usage instead of (void) for ignoring return values
This commit is contained in:
@@ -32,9 +32,10 @@
|
||||
#include <list>
|
||||
#include <locale>
|
||||
#include <memory>
|
||||
#include <new>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <new>
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
#include <dxgiformat.h>
|
||||
@@ -3549,7 +3550,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
||||
|
||||
if (dwOptions & (1 << OPT_TOLOWER))
|
||||
{
|
||||
(void)_wcslwr_s(szOutputFile);
|
||||
std::ignore = _wcslwr_s(szOutputFile);
|
||||
}
|
||||
|
||||
if (~dwOptions & (1 << OPT_OVERWRITE))
|
||||
|
||||
Reference in New Issue
Block a user