Hopefully this will eliminate the "Dereference after null check" warnings by Coverity (e.g. CID 330993).