diff options
author | Eugene Zemtsov <Eugene.Zemtsov@microsoft.com> | 2015-07-29 16:38:07 -0700 |
---|---|---|
committer | Eugene Zemtsov <Eugene.Zemtsov@microsoft.com> | 2015-07-29 16:38:07 -0700 |
commit | 4c036c0801950f48c3316aeef414819a1c43b194 (patch) | |
tree | 3fd1f84d92ed9cba1efb4b10b27c003298f98af0 /src/md | |
parent | f5794741fdcacc227db3405f462a44a681c6d0d2 (diff) | |
download | coreclr-4c036c0801950f48c3316aeef414819a1c43b194.tar.gz coreclr-4c036c0801950f48c3316aeef414819a1c43b194.tar.bz2 coreclr-4c036c0801950f48c3316aeef414819a1c43b194.zip |
Fix prefast warnings in CLR code
[tfs-changeset: 1507366]
Diffstat (limited to 'src/md')
-rw-r--r-- | src/md/compiler/importhelper.cpp | 2 | ||||
-rw-r--r-- | src/md/tables/table.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/md/compiler/importhelper.cpp b/src/md/compiler/importhelper.cpp index 4ae87baf40..75764fec40 100644 --- a/src/md/compiler/importhelper.cpp +++ b/src/md/compiler/importhelper.cpp @@ -3391,7 +3391,7 @@ HRESULT ImportHelper::CompareAssemblyRefToAssembly( // S_OK, S_FALSE or error if (IsAfPublicKey(dwFlags1) && (cbPublicKeyOrToken1 != cbPublicKey2 || memcmp(pbPublicKeyOrToken1, pbPublicKey2, cbPublicKeyOrToken1))) - return FALSE; + return S_FALSE; // Otherwise we need to compress the def public key into a token. if (!StrongNameTokenFromPublicKey((BYTE*)pbPublicKey2, diff --git a/src/md/tables/table.h b/src/md/tables/table.h index f0b40f285b..99b74a85e5 100644 --- a/src/md/tables/table.h +++ b/src/md/tables/table.h @@ -208,7 +208,7 @@ public: __checkReturn inline HRESULT AddRecord( - __out_bcount(m_cbRecordSize) BYTE **ppbRecord, + __out BYTE **ppbRecord, __out UINT32 *pnIndex) { return m_RecordStorage.AddRecord(ppbRecord, pnIndex); |