Skip to content

Remove unnecessary dead_code attributes.#4454

Merged
afck merged 1 commit intolinera-io:mainfrom
afck:less-dead-code
Sep 1, 2025
Merged

Remove unnecessary dead_code attributes.#4454
afck merged 1 commit intolinera-io:mainfrom
afck:less-dead-code

Conversation

@afck
Copy link
Contributor

@afck afck commented Sep 1, 2025

Motivation

There are several #[allow(dead_code)] annotations without an explaining comment or link to an issue. Some of them seem to be unnecessary.

Proposal

Remove them.

Test Plan

CI

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

Links

@afck afck changed the title Remove unnecessary dead_code annotations. Remove unnecessary dead_code attributes. Sep 1, 2025
Copy link
Contributor

@deuszx deuszx left a comment

Choose a reason for hiding this comment

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

If CI's happy, I'm happy.

@afck afck added this pull request to the merge queue Sep 1, 2025
Merged via the queue into linera-io:main with commit b448c8f Sep 1, 2025
28 checks passed
@afck afck deleted the less-dead-code branch September 1, 2025 11:50
afck added a commit to afck/linera-protocol that referenced this pull request Sep 4, 2025
## Motivation

There are several `#[allow(dead_code)]` annotations without an
explaining comment or link to an issue. Some of them seem to be
unnecessary.

## Proposal

Remove them.

## Test Plan

CI

## Release Plan

- Nothing to do / These changes follow the usual release cycle.

## Links

- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
@afck afck mentioned this pull request Sep 4, 2025
ma2bd pushed a commit that referenced this pull request Sep 5, 2025
## Motivation

There are several `#[allow(dead_code)]` annotations without an
explaining comment or link to an issue. Some of them seem to be
unnecessary.

## Proposal

Remove them.

## Test Plan

CI

## Release Plan

- Nothing to do / These changes follow the usual release cycle.

## Links

- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
ma2bd pushed a commit that referenced this pull request Sep 5, 2025
## Motivation

There are several `#[allow(dead_code)]` annotations without an
explaining comment or link to an issue. Some of them seem to be
unnecessary.

## Proposal

Remove them.

## Test Plan

CI

## Release Plan

- Nothing to do / These changes follow the usual release cycle.

## Links

- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants