~zanneth/SolitaireOracle

1edcc9b2a3881c12074532a78778fc1ba5b52556 — zanneth 1 year, 10 months ago 4354dba
Remove unused variable
1 files changed, 1 insertions(+), 2 deletions(-)

M InjectedLib/dllmain.cpp
M InjectedLib/dllmain.cpp => InjectedLib/dllmain.cpp +1 -2
@@ 43,8 43,8 @@ static std::wstring inject_asm_path(void)
static void load_managed_assembly(void)
{
    ICLRMetaHost *rt_meta = nullptr;
    IUnknown *rt_variant = nullptr;
    ICLRRuntimeInfo *rt_info = nullptr;
    ICLRRuntimeHost *rt_host = nullptr;
    HRESULT hr;

    hr = CLRCreateInstance(CLSID_CLRMetaHost, IID_ICLRMetaHost, (LPVOID *)&rt_meta);


@@ 59,7 59,6 @@ static void load_managed_assembly(void)
        return;
    }

    ICLRRuntimeHost *rt_host = nullptr;
    hr = rt_info->GetInterface(CLSID_CLRRuntimeHost, IID_PPV_ARGS(&rt_host));
    if (FAILED(hr)) {
        show_err(L"Failed to get runtime host interface.", hr);