Remove an unused local variable
authorHyung-Kyu Choi <hk0110.choi@samsung.com>
Thu, 8 Dec 2016 08:05:54 +0000 (17:05 +0900)
committerHyung-Kyu Choi <hk0110.choi@samsung.com>
Thu, 8 Dec 2016 08:19:38 +0000 (17:19 +0900)
In lowerxarch.cpp, local variable srcUns is defined but not used
at Lowering::LowerCast(GenTree* tree).

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/05ace853150240cfd423a3636a7ee0ac59701a0b

src/coreclr/src/jit/lowerxarch.cpp

index 94410c8..64283c8 100644 (file)
@@ -3834,7 +3834,6 @@ void Lowering::LowerCast(GenTree* tree)
     var_types  dstType = tree->CastToType();
     var_types  srcType = op1->TypeGet();
     var_types  tmpType = TYP_UNDEF;
-    bool       srcUns  = false;
 
     // force the srcType to unsigned if GT_UNSIGNED flag is set
     if (tree->gtFlags & GTF_UNSIGNED)