Fix unused variable in time_catch Sample.cpp