Fix a lot of small errors/warnings

This commit is contained in:
Jérôme Leclercq
2020-08-28 15:42:19 +02:00
parent 0ff0425045
commit 8d873a8307
25 changed files with 85 additions and 926 deletions

View File

@@ -56,7 +56,7 @@ namespace Nz
*
* \param offset Offset according to the beginning of the stream
*/
bool EmptyStream::SetCursorPos(UInt64 offset)
bool EmptyStream::SetCursorPos(UInt64 /*offset*/)
{
return true;
}
@@ -78,7 +78,7 @@ namespace Nz
* \param buffer Preallocated buffer to contain information read
* \param size Size of the read and thus of the buffer
*/
std::size_t EmptyStream::ReadBlock(void* buffer, std::size_t size)
std::size_t EmptyStream::ReadBlock(void* /*buffer*/, std::size_t /*size*/)
{
return 0;
}