Remove some unreachable code.
This commit is contained in:
parent
490d2a7bc2
commit
745a78f490
|
@ -2273,9 +2273,6 @@ REBAR_InternalHitTest (REBAR_INFO *infoPtr, LPPOINT lpPt, UINT *pFlags, INT *pBa
|
|||
TRACE("NOWHERE\n");
|
||||
return;
|
||||
}
|
||||
|
||||
TRACE("flags=0x%X\n", *pFlags);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -971,10 +971,6 @@ void VGA_ioport_out( WORD port, BYTE val )
|
|||
vga_index_3c4, val);
|
||||
}
|
||||
break;
|
||||
|
||||
FIXME("Unsupported index, register 0x3c4: 0x%02x (value 0x%02x)\n",
|
||||
vga_index_3c4, val);
|
||||
break;
|
||||
case 0x3c8:
|
||||
palreg=val; palcnt=0; break;
|
||||
case 0x3c9:
|
||||
|
|
|
@ -1720,7 +1720,6 @@ HINTERNET WINAPI InternetOpenUrlA(HINTERNET hInternet, LPCSTR lpszUrl,
|
|||
client = InternetConnectA(hInternet, hostName, urlComponents.nPort,
|
||||
userName, password, INTERNET_SERVICE_FTP, dwFlags, dwContext);
|
||||
return FtpOpenFileA(client, path, GENERIC_READ, dwFlags, dwContext);
|
||||
break;
|
||||
case INTERNET_SCHEME_HTTP:
|
||||
case INTERNET_SCHEME_HTTPS:
|
||||
{
|
||||
|
@ -1750,7 +1749,6 @@ HINTERNET WINAPI InternetOpenUrlA(HINTERNET hInternet, LPCSTR lpszUrl,
|
|||
return NULL;
|
||||
}
|
||||
return client1;
|
||||
break;
|
||||
}
|
||||
case INTERNET_SCHEME_GOPHER:
|
||||
/* gopher doesn't seem to be implemented in wine, but it's supposed
|
||||
|
@ -1758,8 +1756,6 @@ HINTERNET WINAPI InternetOpenUrlA(HINTERNET hInternet, LPCSTR lpszUrl,
|
|||
default:
|
||||
return NULL;
|
||||
}
|
||||
if(client != NULL)
|
||||
InternetCloseHandle(client);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -4181,9 +4181,6 @@ SOCKET WINAPI WSAAccept( SOCKET s, struct WS_sockaddr *addr, LPINT addrlen,
|
|||
SetLastError(WSAENOTSOCK);
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
SetLastError(WSAENOTSOCK);
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue