Avoid shadowing warnings in SYNCHRONIZED
Summary: If two `SYNCHRONIZED` blocks are nested the internal `SYNCHRONIZED_*` variables can be compatible shadows (`SYNCHRONIZED_state` always is), so GCC will issue a warning with `-Wshadow-compatible-local`. This diff disambiguates the variable names for each `SYNCHRONIZED` block (as long as they appear on different lines). Reviewed By: yfeldblum, philippv Differential Revision: D4371263 fbshipit-source-id: b467a1a2651667c679382a1cc1eaa28f7ee4e6b3
Showing
Please register or sign in to comment