Skip to content

qa: disable -Werror when compiling env_librados_test - #21433

Merged
tchaikov merged 1 commit into
ceph:masterfrom
tchaikov:wip-qa-env_librados_test
Apr 16, 2018
Merged

tchaikov merged 1 commit into
ceph:masterfrom
tchaikov:wip-qa-env_librados_test

Conversation

@tchaikov

Copy link
Copy Markdown
Contributor

to silence warnings like

utilities/env_librados.cc:175:33: warning: unused parameter ‘offset’ [-Wunused-parameter]
Status InvalidateCache(size_t offset, size_t length) {
^~~~~~

Signed-off-by: Kefu Chai [email protected]

to silence warnings like

utilities/env_librados.cc:175:33: warning: unused parameter ‘offset’ [-Wunused-parameter]
   Status InvalidateCache(size_t offset, size_t length) {
                                 ^~~~~~

Signed-off-by: Kefu Chai <[email protected]>
@tchaikov
tchaikov requested a review from jdurgin April 15, 2018 14:42
@tchaikov

tchaikov commented Apr 15, 2018 •

Copy link
Copy Markdown
Contributor Author

@liewegas liewegas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems okay. We could also do (void)paramname; statements to explicitly ignore args, right?

@tchaikov

Copy link
Copy Markdown
Contributor Author

yeah, that's another option.

@tchaikov
tchaikov merged commit 073f6f6 into ceph:master Apr 16, 2018
@tchaikov
tchaikov deleted the wip-qa-env_librados_test branch April 16, 2018 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants