Skip to content

Enable -Wunused-variable - #1446

Merged
alexmiller-apple merged 2 commits into
apple:masterfrom
atn34:unused-variable-warning
Apr 16, 2019
Merged

Enable -Wunused-variable#1446
alexmiller-apple merged 2 commits into
apple:masterfrom
atn34:unused-variable-warning

Conversation

@atn34

@atn34 atn34 commented Apr 9, 2019

Copy link
Copy Markdown
Collaborator

Related to #1255

Comment thread fdbserver/workloads/BackupCorrectness.actor.cpp Outdated
Comment thread fdbrpc/ActorFuzz.actor.cpp Outdated
@atn34
atn34 force-pushed the unused-variable-warning branch from b8221b8 to 9634ca2 Compare April 9, 2019 20:02
Comment thread fdbrpc/CMakeLists.txt Outdated
Comment thread fdbserver/CoroFlow.actor.cpp
Comment thread fdbserver/KeyValueStoreSQLite.actor.cpp
Comment thread fdbserver/VersionedBTree.actor.cpp Outdated
Comment thread flow/IndexedSet.cpp
@atn34
atn34 force-pushed the unused-variable-warning branch from 1118b8d to 52d5af7 Compare April 10, 2019 16:37
@atn34

atn34 commented Apr 10, 2019

Copy link
Copy Markdown
Collaborator Author

I addressed all review comments, and also rewrote the history to remove the changes that were reverted to preserve git blame integrity. PTAL.

@jzhou77

jzhou77 commented Apr 10, 2019

Copy link
Copy Markdown
Collaborator

LGTM and thanks for doing this!

@alexmiller-apple
alexmiller-apple merged commit 247f95a into apple:master Apr 16, 2019

@ajbeamon ajbeamon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I was hoping to actually get to review this before it got merged, but I'll submit my comments anyway.

Comment thread bindings/flow/tester/Tester.actor.cpp
Comment thread fdbrpc/AsyncFileWriteChecker.h
Comment thread fdbserver/CoroFlow.actor.cpp
Comment thread fdbserver/CoroFlow.actor.cpp
for(auto &versionedPageSet : children) {
debug_printf("%p version: Page id=%lld\n", THIS, versionedPageSet.first);
for(auto &boundaryPage : versionedPageSet.second) {
(void)boundaryPage;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is maybe out of scope of this PR, but I wonder if this whole loop shouldn't be made conditional on debugging.

Comment thread fdbserver/workloads/VersionStamp.actor.cpp
Comment thread fdbserver/workloads/VersionStamp.actor.cpp
Comment thread flow/IndexedSet.cpp
Comment thread flow/flow.h
atn34 added a commit to atn34/foundationdb that referenced this pull request Apr 16, 2019
@atn34

atn34 commented Apr 16, 2019

Copy link
Copy Markdown
Collaborator Author

Followed up in #1464

atn34 added a commit to atn34/foundationdb that referenced this pull request Apr 16, 2019
ajbeamon added a commit that referenced this pull request Apr 16, 2019
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