Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fabtests: Fix compiler warning about unitialized variable
The compiler can't properly follow the def-use chain guarded by the same condition and complains about the variable could be used w/o initialization: if (atomic == FI_ATOMIC_COMPARE) { check_cmp = ...; } ...... if (atomic == FI_ATOMIC_COMPARE) { use check_cmp in macro } Signed-off-by: Jianxin Xiong <[email protected]>
- Loading branch information