editor: remove dead code
In 0e0b99e5, I accidentally committed some dead code. Remove it.
This commit is contained in:
parent
539522eb1e
commit
6ff7583935
@ -558,20 +558,6 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
hInstance = GetModuleHandle(NULL);
|
hInstance = GetModuleHandle(NULL);
|
||||||
CoInitialize(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;
|
WSADATA wsa;
|
||||||
if (0 != WSAStartup(MAKEWORD(2, 0), &wsa))
|
if (0 != WSAStartup(MAKEWORD(2, 0), &wsa))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user