Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more warnings #204

Merged
merged 1 commit into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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