libE57Format: fix warnings -Wunused-parameter
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
1
src/3rdParty/libE57Format/src/Decoder.cpp
vendored
1
src/3rdParty/libE57Format/src/Decoder.cpp
vendored
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
2
src/3rdParty/libE57Format/src/Packet.cpp
vendored
2
src/3rdParty/libE57Format/src/Packet.cpp
vendored
@@ -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#?
|
||||
|
||||
Reference in New Issue
Block a user