Skip to content

Commit

Permalink
Fix more warnings (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney committed Jan 16, 2023
1 parent ebca084 commit 549d1d5
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/CompressedVectorReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,5 +352,7 @@ void CompressedVectorReader::dump( int indent, std::ostream &os ) const
#else
void CompressedVectorReader::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif
2 changes: 2 additions & 0 deletions src/CompressedVectorWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,5 +327,7 @@ void CompressedVectorWriter::dump( int indent, std::ostream &os ) const
#else
void CompressedVectorWriter::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif
7 changes: 6 additions & 1 deletion src/E57Exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
*/

#include "E57Exception.h"
#include "E57Version.h"

#include "Common.h"

namespace e57
{
Expand Down Expand Up @@ -167,6 +168,10 @@ namespace e57
os << reportingFileName << "(" << reportingLineNumber << ") : error C0: <--- reported on"
<< std::endl;
}
#else
UNUSED( reportingFileName );
UNUSED( reportingLineNumber );
UNUSED( reportingFunctionName );
#endif
}

Expand Down
2 changes: 2 additions & 0 deletions src/FloatNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ void FloatNode::dump( int indent, std::ostream &os ) const
#else
void FloatNode::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/ImageFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,8 @@ void ImageFile::dump( int indent, std::ostream &os ) const
#else
void ImageFile::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/IntegerNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ void IntegerNode::dump( int indent, std::ostream &os ) const
#else
void IntegerNode::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,8 @@ void Node::dump( int indent, std::ostream &os ) const
#else
void Node::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/ScaledIntegerNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ void ScaledIntegerNode::dump( int indent, std::ostream &os ) const
#else
void ScaledIntegerNode::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/SourceDestBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,5 +472,7 @@ void SourceDestBuffer::dump( int indent, std::ostream &os ) const
#else
void SourceDestBuffer::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif
2 changes: 2 additions & 0 deletions src/StringNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ void StringNode::dump( int indent, std::ostream &os ) const
#else
void StringNode::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/StructureNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ void StructureNode::dump( int indent, std::ostream &os ) const
#else
void StructureNode::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 2 additions & 0 deletions src/VectorNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ void VectorNode::dump( int indent, std::ostream &os ) const
#else
void VectorNode::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down

0 comments on commit 549d1d5

Please sign in to comment.