warning fix: remove senseless assignment before bailing out of fn w/error