editor: remove dead code

In 0e0b99e5, I accidentally committed some dead code. Remove it.
This commit is contained in:
Erik Faye-Lund 2010-05-01 17:03:32 +02:00
parent 539522eb1e
commit 6ff7583935

View File

@ -559,20 +559,6 @@ int main(int argc, char* argv[])
hInstance = GetModuleHandle(NULL);
CoInitialize(NULL);
#if 0
{
DWORD test = 0xdeadbeef;
RegSetValueEx(key, "test2", 0, REG_DWORD, (BYTE *)&test, sizeof(DWORD));
DWORD type = 0;
DWORD test2 = 0;
DWORD size = sizeof(DWORD);
RegQueryValueEx(key, "test2", 0, &type, (LPBYTE)&test2, &size);
assert(REG_DWORD == type);
printf("%x\n", test2);
}
#endif
WSADATA wsa;
if (0 != WSAStartup(MAKEWORD(2, 0), &wsa))
die("Failed to init network");