Explorar o código

HPCC-8482 Remove unreachable code

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday %!s(int64=12) %!d(string=hai) anos
pai
achega
7a2df916c9
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      common/fileview2/fvtransform.cpp

+ 0 - 4
common/fileview2/fvtransform.cpp

@@ -152,8 +152,6 @@ ViewFailTransformer::ViewFailTransformer() : ViewFieldTransformer(failAtom)
 void ViewFailTransformer::transform(unsigned & lenTarget, char * & target, unsigned lenSource, const char * source)
 {
     throwError(FVERR_FailTransformation);
-    lenTarget = 0;
-    target = NULL;
 }
 
 
@@ -164,8 +162,6 @@ ViewExceptionTransformer::ViewExceptionTransformer(IException * _e) : ViewFieldT
 void ViewExceptionTransformer::transform(unsigned & lenTarget, char * & target, unsigned lenSource, const char * source)
 {
     throw LINK(e);
-    lenTarget = 0;
-    target = NULL;
 }