Skip to content

Commit 84f25ee

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused private from folly/test/SynchronizedTest.cpp
Summary: `-Wunused-private-field` has identified an unused private field. This diff removes it. If the code compiles, this is safe to land. Reviewed By: dtolnay Differential Revision: D70933435 fbshipit-source-id: b0c776f4c0f623371de98a89667fc4168d37d48e
1 parent 3735659 commit 84f25ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

folly/test/SynchronizedTest.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1015,8 +1015,8 @@ class TestStruct {
10151015
TestStruct(int a, int b) : a_{a}, b_{b} {}
10161016

10171017
private:
1018-
int a_{0};
1019-
int b_{0};
1018+
[[maybe_unused]] int a_{0};
1019+
[[maybe_unused]] int b_{0};
10201020
};
10211021
} // namespace
10221022

0 commit comments

Comments
 (0)