Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

fix compile with new compiler - dead code #4530

Merged
merged 4 commits into from
Dec 15, 2021

Conversation

drahnr
Copy link
Contributor

@drahnr drahnr commented Dec 15, 2021

No description provided.

@drahnr drahnr added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Dec 15, 2021
@drahnr drahnr self-assigned this Dec 15, 2021
@drahnr drahnr added this to the v0.9.14 milestone Dec 15, 2021
@drahnr drahnr requested a review from sandreim December 15, 2021 14:47
@@ -19,12 +19,16 @@ use polkadot_node_subsystem_util::metrics::{self, prometheus};
#[derive(Clone)]
struct MetricsInner {
/// Number of opened disputes.
#[cfg(feature = "disputes")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More stuff to remove when we get rid of the feature gate :P

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, ...

#[structopt(long)]
at: Option<Hash>,

/// The solver algorithm to use.
#[allow(dead_code)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if unused should be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but this would change public API, hence we can't remove it like that without risking breakage.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless there is a decision before CI passes, let's make this a follow-up and avoid any further friction for people getting red CI tests and the goto fix merge master doesn't cut it :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack, thanks for the ping @ordian.

@drahnr
Copy link
Contributor Author

drahnr commented Dec 15, 2021

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit 634f649 into master Dec 15, 2021
@paritytech-processbot paritytech-processbot bot deleted the bernhard-fix-compile branch December 15, 2021 17:11
ordian added a commit that referenced this pull request Dec 16, 2021
* master:
  Bump tokio from 1.14.0 to 1.15.0 (#4537)
  Bump mick-jaeger from 0.1.6 to 0.1.7 (#4538)
  Versi chainspec based on Rococo. (#4485)
  Bump proc-macro2 from 1.0.33 to 1.0.34 (#4526)
  fix compile with new compiler - dead code (#4530)
  introduce trusted parachain Encointer for rococo and westend (#4213)
  add Encointer TrustedTeleporter (#4401)
  Bump libc from 0.2.109 to 0.2.112 (#4522)
  Bump serde_json from 1.0.72 to 1.0.73 (#4523)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants