the CHECK() macro resets result, so an error code from an earlier
view could be erased if the last view loaded had no errors.
(cherry picked from commit 7e736602)
0a0e02f3
To find the state of this project's repository at the time of any of these versions, check out the tags.