HomeFreeBSD

Fix -Wshadow issues with `EXPECT_OPEN_OK(..)` macro

Description

Fix -Wshadow issues with EXPECT_OPEN_OK(..) macro

  • Wrap in do-while(0) block to avoid variable shadowing issue with multiple calls in the same function.
  • Prefix block local variables with _ to try and avoid variable name clashes with values local to test methods.

Details

Provenance
ngieAuthored on
Parents
rS345212: Fix -Wunused variable by removing `v` from function definition
Branches
Unknown
Tags
Unknown