THRIFT-1998 TCompactProtocol.tcc - one more warning on Visual 2010
authorRoger Meier <roger@apache.org>
Mon, 7 Jul 2014 19:44:30 +0000 (21:44 +0200)
committerRoger Meier <roger@apache.org>
Mon, 7 Jul 2014 19:44:30 +0000 (21:44 +0200)
Patch: Konrad Grochowski

lib/cpp/src/thrift/protocol/TCompactProtocol.tcc

index c444020..a0955fc 100644 (file)
@@ -817,7 +817,6 @@ TType TCompactProtocolT<Transport_>::getTType(int8_t type) {
     default:
       throw TException(std::string("don't know what type: ") + (char)type);
   }
-  return T_STOP;
 }
 
 }}} // apache::thrift::protocol