瀏覽代碼

HPCC-8482 Remove unreachable code

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 12 年之前
父節點
當前提交
7a2df916c9
共有 1 個文件被更改,包括 0 次插入4 次删除
  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;
 }