REFACTOR: variable '_postSnapshot' always evaluates to true (PR #9671)

GitHub