We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd5a82 commit 22f4eb3Copy full SHA for 22f4eb3
Auxiliary/DirectXTexPNG.cpp
@@ -86,7 +86,7 @@ namespace
86
void OnPNGRead(png_structp st, png_bytep ptr, size_t len)
87
{
88
FILE* fin = reinterpret_cast<FILE*>(png_get_io_ptr(st));
89
- fread(ptr, len, 1, fin);
+ std::ignore = fread(ptr, len, 1, fin);
90
}
91
92
0 commit comments