Skip to content

Commit

Permalink
Teuchos: Remove Unused Parameter Warnings
Browse files Browse the repository at this point in the history
Comment out parameter names in function definitions to avoid unused
parameter warnings.
  • Loading branch information
jmgate committed Aug 17, 2018
1 parent e3e33f3 commit 12b0b2a
Show file tree
Hide file tree
Showing 18 changed files with 820 additions and 820 deletions.
10 changes: 5 additions & 5 deletions packages/teuchos/comm/src/Teuchos_DefaultSerialComm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ SerialComm<Ordinal>::SerialComm()
{}

template<typename Ordinal>
SerialComm<Ordinal>::SerialComm(const SerialComm<Ordinal>& other)
SerialComm<Ordinal>::SerialComm(const SerialComm<Ordinal>& /* other */)
{}


Expand Down Expand Up @@ -372,10 +372,10 @@ void SerialComm<Ordinal>::ssend(

template<typename Ordinal>
void
SerialComm<Ordinal>::ssend (const Ordinal bytes,
const char sendBuffer[],
const int destRank,
const int tag) const
SerialComm<Ordinal>::ssend (const Ordinal /* bytes */,
const char* /* sendBuffer */,
const int /* destRank */,
const int /* tag */) const
{
TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error
Expand Down
2 changes: 1 addition & 1 deletion packages/teuchos/core/src/Teuchos_Describable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ std::string Describable::description () const

void
Describable::describe (FancyOStream& out_arg,
const EVerbosityLevel verbLevel) const
const EVerbosityLevel /* verbLevel */) const
{
RCP<FancyOStream> out = rcpFromRef (out_arg);
OSTab tab (out);
Expand Down
Loading

0 comments on commit 12b0b2a

Please sign in to comment.