Skip to content

Commit debb7cc

Browse files
committed
remove warning reference
1 parent 2d39906 commit debb7cc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tools/clang/tools/dxcompiler/dxcapi.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ HRESULT CreateDxcContainerReflection(REFIID riid, _Out_ LPVOID *ppv) {
5858
HRESULT CreateDxcContainerBuilder(REFIID riid, _Out_ LPVOID *ppv) {
5959
// Call dxil.dll's containerbuilder
6060
*ppv = nullptr;
61-
const char *warning;
62-
HRESULT hr =
63-
S_OK; // originally: DxilLibCreateInstance(CLSID_DxcContainerBuilder,
64-
// (IDxcContainerBuilder **)ppv);
65-
if (FAILED(hr)) {
66-
warning = "Unable to create container builder from dxil.dll. Resulting "
67-
"container will not be signed.\n";
68-
} else {
69-
return hr;
70-
}
7161

7262
CComPtr<DxcContainerBuilder> Result =
7363
DxcContainerBuilder::Alloc(DxcGetThreadMallocNoRef());

0 commit comments

Comments
 (0)