Remove unused code. accepted/tizen/unified/20191011.080135 submit/tizen/20191010.235421
authorMikhail Kurinnoi <m.kurinnoi@samsung.net>
Wed, 2 Oct 2019 13:08:53 +0000 (16:08 +0300)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Thu, 10 Oct 2019 23:38:41 +0000 (08:38 +0900)
src/debug/netcoredbg/variables.cpp

index a8e7f274e918efe55aac60461140126c4878bab1..4bf543e121513c0fa7e35b10bb6c0091b9652504 100644 (file)
@@ -659,7 +659,6 @@ HRESULT Variables::Evaluate(
     }
 
     int typeId;
-    std::vector< ToRelease<ICorDebugValue> > marshalledValues;
 
     // Use Roslyn for expression evaluation
     if (!pResultValue)
@@ -687,10 +686,6 @@ HRESULT Variables::Evaluate(
                 {
                     found = true;
                     IfFailRet(MarshalValue(pValue, typeId, data));
-                    if (*typeId < 0)
-                    {
-                        marshalledValues.emplace_back(static_cast<ICorDebugValue*>(*data)); // FIXME: no exception safety
-                    }
                 }
 
                 return S_OK;
@@ -736,8 +731,6 @@ HRESULT Variables::Evaluate(
         {
             return false;
         }
-        if (*typeId < 0)
-            marshalledValues.emplace_back(static_cast<ICorDebugValue*>(*data));
 
         return true;
     }));