Remove an unused function.

The __attribute__((used)) annotation breaks the MSVC build.
This commit is contained in:
Ryan Prichard 2018-10-15 00:39:47 -07:00
parent f66abe41d5
commit 830b4237aa

View File

@ -317,13 +317,6 @@ static void handlePendingIo(winpty_t &wp, OVERLAPPED &over, BOOL &success,
}
}
__attribute__((used))
static void handlePendingIo(winpty_t &wp, OVERLAPPED &over, BOOL &success,
DWORD &lastError) {
DWORD actual = 0;
handlePendingIo(wp, over, success, lastError, actual);
}
static void handleReadWriteErrors(winpty_t &wp, BOOL success, DWORD lastError,
const wchar_t *genericErrMsg) {
if (!success) {