Skip to content

Commit

Permalink
Remove two unused static members
Browse files Browse the repository at this point in the history
One of those, unknown_category, is shadowed by a local static variable
in service::display_name(), which Clang 17 warns about and with -Werror
breaks the build.
  • Loading branch information
vkrause committed Feb 20, 2024
1 parent fe2a8f7 commit a681603
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/nigiri/loader/hrd/service/service.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ struct specification {

struct service {
static const constexpr auto kTimeNotSet = -1; // NOLINT
static category unknown_catergory;
static provider unknown_provider;

struct event {
int time_;
Expand Down

0 comments on commit a681603

Please sign in to comment.