Catch up with Gearman's libtest
[m6w6/libmemcached] / libtest / collection.cc
index c6fec1ebd8d57250700aa29a30d6e8dc70f17d90..5814c2f4a1546cd2fe72ea5a13d0f6628387e4d6 100644 (file)
@@ -97,8 +97,6 @@ test_return_t Collection::exec()
   {
     for (test_st *run= _tests; run->name; run++)
     {
-      long int load_time= 0;
-
       if (_frame->match(run->name))
       {
         continue;
@@ -123,7 +121,6 @@ test_return_t Collection::exec()
       catch (libtest::fatal &e)
       {
         Error << "Fatal exception was thrown: " << e.what();
-        return_code= TEST_FAILURE;
         _failed++;
         throw;
       }