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

Fix a Clang Static Analyzer warning that the variable is not used #56

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

Timac
Copy link
Contributor

@Timac Timac commented Jun 27, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.2%) to 93.517% when pulling 37df702 on Timac:master into 278ac0e on communi:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.2%) to 93.52% when pulling 98245ea on Timac:master into 278ac0e on communi:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.2%) to 93.52% when pulling 958c95f on Timac:master into 278ac0e on communi:master.

@@ -605,6 +605,7 @@ void IrcBufferModelPrivate::_irc_restoreBuffers()
chans.clear();
keys.clear();
joinCommandLength = joinCommandMinLength;
(void)joinCommandLength; // Fix a Static Analyzer warning that the variable is never read
Copy link
Member

Choose a reason for hiding this comment

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

we probably shouldn't hide the issue but check if it's actually a bug that it's not used... @Venemo can you check this?

@codecov
Copy link

codecov bot commented Jun 3, 2020

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   93.62%   93.62%           
=======================================
  Files          58       58           
  Lines        4847     4847           
=======================================
  Hits         4538     4538           
  Misses        309      309           
Impacted Files Coverage Δ
src/model/ircbuffermodel.cpp 76.06% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb4bf3e...a94ae2d. Read the comment docs.

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.

3 participants