Set hr to S_OK instead of returning S_OK
authorEvgeny Pavlov <e.pavlov@samsung.com>
Fri, 22 Jul 2016 12:54:17 +0000 (15:54 +0300)
committerEvgeny Pavlov <e.pavlov@samsung.com>
Fri, 22 Jul 2016 12:54:17 +0000 (15:54 +0300)
Commit migrated from https://github.com/dotnet/coreclr/commit/c5679993e947f652d6f67d29bea4482f322f3b5f

src/coreclr/src/dlls/mscoree/unixinterface.cpp

index 0d1a126..897924c 100644 (file)
@@ -261,7 +261,7 @@ int coreclr_initialize(
                     "Can't create delegate for 'System.Diagnostics.Debug.SymbolReader.SymbolReader.GetInfoForMethod' "
                     "method - status: 0x%08x\n", hr);
         }
-        return S_OK; // We don't need to fail if we can't create delegate
+        hr = S_OK; // We don't need to fail if we can't create delegate
 #endif
     }
     return hr;