From: Roger Meier Date: Mon, 7 Jul 2014 20:02:57 +0000 (+0200) Subject: THRIFT-2609 TFileTransport.h unused field warning (clang 3.4) X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=5f61d29a26b7d3988c0ca7ec3bbac160c0cb7511;p=common%2Fthrift.git THRIFT-2609 TFileTransport.h unused field warning (clang 3.4) Patch: Konrad Grochowski --- diff --git a/lib/cpp/src/thrift/transport/TFileTransport.cpp b/lib/cpp/src/thrift/transport/TFileTransport.cpp index c267f2ea..625c8778 100644 --- a/lib/cpp/src/thrift/transport/TFileTransport.cpp +++ b/lib/cpp/src/thrift/transport/TFileTransport.cpp @@ -751,7 +751,7 @@ void TFileTransport::performRecovery() { // if tailing the file, wait until there is enough data to start // the next chunk while(curChunk == (getNumChunks() - 1)) { - THRIFT_SLEEP_USEC(DEFAULT_CORRUPTED_SLEEP_TIME_US); + THRIFT_SLEEP_USEC(corruptedEventSleepTime_); } seekToChunk(curChunk + 1); } else {