Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Problem: warnings in release build #1465

Closed
tomtau opened this issue Apr 22, 2020 · 1 comment
Closed

Problem: warnings in release build #1465

tomtau opened this issue Apr 22, 2020 · 1 comment

Comments

@tomtau
Copy link
Contributor

tomtau commented Apr 22, 2020

warning: unused variable: `staking`
   --> chain-core/src/init/config.rs:239:13
    |
239 |         for staking in accounts.iter() {
    |             ^^^^^^^ help: consider prefixing with an underscore: `_staking`
    |
    = note: `#[warn(unused_variables)]` on by default
warning: unused variable: `minimal_required_staking`
   --> chain-abci/src/staking/table.rs:750:5
    |
750 |     minimal_required_staking: Coin,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_minimal_required_staking`
    |
    = note: `#[warn(unused_variables)]` on by default
@yihuang
Copy link
Collaborator

yihuang commented Apr 22, 2020

I'll fix this in #1458

yihuang added a commit to yihuang/chain that referenced this issue Apr 22, 2020
… platform

Solution:
- Add mock mode
- Fix warning of release building, Fix crypto-com#1465
yihuang added a commit to yihuang/chain that referenced this issue Apr 22, 2020
… platform

Solution:
- Add mock mode
- Fix warning of release building, Fix crypto-com#1465
@bors bors bot closed this as completed in 867a1f2 Apr 23, 2020
allthatjazzleo pushed a commit to allthatjazzleo/chain that referenced this issue May 28, 2020
… platform

Solution:
- Add mock mode
- Fix warning of release building, Fix crypto-com#1465
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants