removing unused variables

This commit is contained in:
Sylae Corell
2014-07-30 12:08:10 -06:00
parent f839ef7d7a
commit 728395caa7
7 changed files with 17 additions and 31 deletions

View File

@@ -308,7 +308,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR, int nCmd
LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
HDC hdc;
PAINTSTRUCT ps;
POINT press;
HMENU menu;
@@ -455,7 +454,7 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
if ((block_erase == true) && (hwnd == mainPtr)) {
block_erase = false;
}
hdc = BeginPaint(hwnd,&ps);
BeginPaint(hwnd,&ps);
EndPaint(hwnd,&ps);
if (hwnd != mainPtr)