Browse Source

HPCC-8482 Remove unreachable code

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 12 years ago
parent
commit
7a2df916c9
1 changed files with 0 additions and 4 deletions
  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;
 }