libE57Format: fix warnings -Wunused-parameter

This commit is contained in:
wmayer
2021-12-14 10:50:28 +01:00
parent 71e7f47e5b
commit 105836293e
5 changed files with 6 additions and 0 deletions

View File

@@ -561,6 +561,7 @@ namespace e57
const char *srcFunctionName ) const
{
// unimplemented...
(void)srcFileName; (void)srcLineNumber; (void)srcFunctionName;
}
void CompressedVectorReaderImpl::checkReaderOpen( const char *srcFileName, int srcLineNumber,

View File

@@ -601,6 +601,7 @@ namespace e57
const char *srcFunctionName ) const
{
// unimplemented...
(void)srcFileName; (void)srcLineNumber; (void)srcFunctionName;
}
void CompressedVectorWriterImpl::checkWriterOpen( const char *srcFileName, int srcLineNumber,

View File

@@ -837,6 +837,7 @@ void ConstantIntegerDecoder::destBufferSetNew( std::vector<SourceDestBuffer> &db
size_t ConstantIntegerDecoder::inputProcess( const char *source, const size_t availableByteCount )
{
(void)source; (void)availableByteCount;
#ifdef E57_MAX_VERBOSE
std::cout << "ConstantIntegerDecoder::inputprocess() called, source=" << (void *)( source )
<< " availableByteCount=" << availableByteCount << std::endl;

View File

@@ -835,6 +835,7 @@ void E57XmlParser::endElement( const XMLCh *const uri, const XMLCh *const localN
void E57XmlParser::characters( const XMLCh *const chars, const XMLSize_t length )
{
(void)length;
//??? use length to make ustring
#ifdef E57_MAX_VERBOSE
std::cout << "characters, chars=\"" << toUString( chars ) << "\" length=" << length << std::endl;

View File

@@ -163,6 +163,7 @@ std::unique_ptr<PacketLock> PacketReadCache::lock( uint64_t packetLogicalOffset,
void PacketReadCache::unlock( unsigned cacheIndex )
{
(void)cacheIndex;
//??? why lockedEntry not used?
#ifdef E57_MAX_VERBOSE
std::cout << "PacketReadCache::unlock() called, cacheIndex=" << cacheIndex << std::endl;
@@ -543,6 +544,7 @@ void DataPacket::dump( int indent, std::ostream &os ) const
void IndexPacket::verify( unsigned bufferLength, uint64_t totalRecordCount, uint64_t fileSize ) const
{
(void)totalRecordCount; (void)fileSize;
//??? do all packets need versions? how extend without breaking older
// checking? need to check
// file version#?