Fixed a clang warning for the variable success not being set in some paths through the code so that the compile is clean

No actual change to the logic of the app, but it ensures a cleaner compile which allows you to spot real problems and avoid the situation where yellow issues during compile become normal.