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 clang 15 warnings #4325

Merged
merged 1 commit into from
Dec 14, 2022
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/ripple/app/misc/impl/TxQ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ increase(FeeLevel64 level, std::uint32_t increasePercent)

//////////////////////////////////////////////////////////////////////////

constexpr FeeLevel64 TxQ::baseLevel;

std::size_t
TxQ::FeeMetrics::update(
Application& app,
Expand Down
2 changes: 0 additions & 2 deletions src/ripple/core/impl/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@ getEnvVar(char const* name)
return value;
}

constexpr FeeUnit32 Config::TRANSACTION_FEE_BASE;

Config::Config()
: j_(beast::Journal::getNullSink()), ramSize_(detail::getMemorySize())
{
Expand Down
2 changes: 0 additions & 2 deletions src/ripple/rpc/impl/Status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
namespace ripple {
namespace RPC {

constexpr Status::Code Status::OK;

std::string
Status::codeString() const
{
Expand Down
5 changes: 0 additions & 5 deletions src/test/unit_test/multi_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,6 @@ multi_runner_base<IsParent>::add_failures(std::size_t failures)
any_failed(failures != 0);
}

template <bool IsParent>
constexpr const char* multi_runner_base<IsParent>::shared_mem_name_;
template <bool IsParent>
constexpr const char* multi_runner_base<IsParent>::message_queue_name_;

} // namespace detail

//------------------------------------------------------------------------------
Expand Down