Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2021-06-28 15:57:30 +0300
committerGitHub <noreply@github.com>2021-06-28 15:57:30 +0300
commit78be35936a48414df83460dadf9003e053499f84 (patch)
tree5176a1a61719062342f4718829871e8cf59ef48b /src/coreclr/md
parent084392d5d642dcb42edfd8f168042ad3695d5d3f (diff)
Fix EnumMemberRefs always returning NULL (#54805)
Diffstat (limited to 'src/coreclr/md')
-rw-r--r--src/coreclr/md/compiler/import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreclr/md/compiler/import.cpp b/src/coreclr/md/compiler/import.cpp
index 6559b2b31e9..ac5472c1e4c 100644
--- a/src/coreclr/md/compiler/import.cpp
+++ b/src/coreclr/md/compiler/import.cpp
@@ -762,7 +762,7 @@ STDMETHODIMP RegMeta::EnumMemberRefs( // S_OK, S_FALSE, or error.
// set the output parameter
*ppmdEnum = pEnum;
- *ppmdEnum = 0;
+ pEnum = NULL;
}
// fill the output token buffer