Remove an unused function.
The __attribute__((used)) annotation breaks the MSVC build.
This commit is contained in:
parent
f66abe41d5
commit
830b4237aa
@ -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,
|
static void handleReadWriteErrors(winpty_t &wp, BOOL success, DWORD lastError,
|
||||||
const wchar_t *genericErrMsg) {
|
const wchar_t *genericErrMsg) {
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
Loading…
Reference in New Issue
Block a user