Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes committed Jun 11, 2024
1 parent ecc0b93 commit 68fdb2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion targets/win32/nanoCLR/CLRStartup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ HRESULT ClrLoadDAT(const wchar_t *szDatFilePath)
void ClrStartup(CLR_SETTINGS params)
{
NATIVE_PROFILE_CLR_STARTUP();
// Settings settings;
ASSERT(sizeof(CLR_RT_HeapBlock_Raw) == sizeof(struct CLR_RT_HeapBlock));
bool softReboot;

Expand Down
10 changes: 0 additions & 10 deletions targets/win32/nanoCLR/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,6 @@ int _tmain(int argc, _TCHAR *argv[])
clrSettings.WaitForDebugger = false;
clrSettings.EnterDebuggerLoopAfterExit = false;

// fill arguments from command line
clrSettings.StartArgs.resize(argc - 1);

std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;

for (int i = 0; i < argc - 1; i++)
{
clrSettings.StartArgs[i] = converter.from_bytes(argv[1 + i]);
}

ClrStartup(clrSettings);

#if !defined(BUILD_RTM)
Expand Down

0 comments on commit 68fdb2e

Please sign in to comment.