stackwalk: Fix result logic in getInitialFrameImpl
authorJosh Stone <jistone@redhat.com>
Tue, 21 Jan 2014 01:30:33 +0000 (17:30 -0800)
committerJosh Stone <jistone@redhat.com>
Tue, 21 Jan 2014 01:30:33 +0000 (17:30 -0800)
commitc4ad1fbc37535b84f83343c9296c2717704264ab
tree812f77fed5233578a0f35e634b7b242b11c7fff1
parentd72abe3d1b655391c4321f171a496e6c144ec3aa
stackwalk: Fix result logic in getInitialFrameImpl

The former "result = !result || getRegValue(...)" ends up toggling any
failed states.  A "result = result && ..." instead maintains failure.

Reported by coverity as UNINIT.
stackwalk/src/walker.C