CXX-321 remove optime

needed to declare a variable in the switch statement.