Skip to content

Commit

Permalink
Fix more warnings (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney authored Jan 16, 2023
1 parent a838a53 commit ebca084
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/BlobNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ void BlobNode::dump( int indent, std::ostream &os ) const
#else
void BlobNode::dump( int indent, std::ostream &os ) const
{
UNUSED( indent );
UNUSED( os );
}
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/CheckedFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void CheckedFile::read( char *buf, size_t nRead, size_t /*bufSize*/ )
std::vector<char> page_buffer_v( physicalPageSize );
char *page_buffer = page_buffer_v.data();

auto checksumMod = static_cast<const unsigned int>( std::nearbyint( 100.0 / checkSumPolicy_ ) );
const auto checksumMod = static_cast<unsigned int>( std::nearbyint( 100.0 / checkSumPolicy_ ) );

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

Expand Down

0 comments on commit ebca084

Please sign in to comment.