File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1781,7 +1781,7 @@ struct [[deprecated(
17811781 FOLLY_MSVC_DISABLE_WARNING (4459 ) /* declaration hides global */ \
17821782 FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS \
17831783 if (bool SYNCHRONIZED_VAR (state) = false) { \
1784- ::folly::detail::SYNCHRONIZED_macro_is_deprecated{}; \
1784+ ( void ) ::folly::detail::SYNCHRONIZED_macro_is_deprecated{}; \
17851785 } else \
17861786 for (auto SYNCHRONIZED_VAR (lockedPtr) = \
17871787 (FB_VA_GLUE(FB_ARG_2_OR_1, (__VA_ARGS__))).contextualLock(); \
@@ -1816,7 +1816,7 @@ struct [[deprecated(
18161816 */
18171817#define SYNCHRONIZED_DUAL (n1, e1, n2, e2 ) \
18181818 if (bool SYNCHRONIZED_VAR (state) = false) { \
1819- ::folly::detail::SYNCHRONIZED_macro_is_deprecated{}; \
1819+ ( void ) ::folly::detail::SYNCHRONIZED_macro_is_deprecated{}; \
18201820 } else \
18211821 for (auto SYNCHRONIZED_VAR (ptrs) = acquireLockedPair(e1 , e2 ); \
18221822 !SYNCHRONIZED_VAR(state); \
You can’t perform that action at this time.
0 commit comments