Fixing warning C4101: unreferenced local variable

NAK on replacing with catch (...).  We want errors like std::bad_alloc (out of memory) to either be handled by a higher-level catch or to cause an unhandled exception exit.