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

Wallet: Fix unused variable compiler warning #6310

Closed

Conversation

tmoravec
Copy link
Contributor

g++ 7.4.0 on Ubuntu 18.04

Alternatively, if we prefer to keep the variable around, we can silence it with something like

   bool refreshed = false;
+  (void)refreshed;

@moneromooo-monero
Copy link
Collaborator

I'd rather this stays in for now because I still have to investigate what value it should have.

@tmoravec
Copy link
Contributor Author

I'd rather this stays in for now because I still have to investigate what value it should have.

Ok, the other option works as well. Updated the commit.

@moneromooo-monero
Copy link
Collaborator

Since this also removes the warning, I don't see how it's better :)

@selsta
Copy link
Collaborator

selsta commented Sep 27, 2020

Removed here: #6097 (comment)

@selsta
Copy link
Collaborator

selsta commented Jun 2, 2022

Superseded by #8359

@selsta selsta closed this Jun 2, 2022
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.

4 participants