Remove invalid assert

This commit is contained in:
Simon Lindholm 2022-07-04 19:38:49 +02:00
parent a47a2e5e8b
commit 3b181ab40a
1 changed files with 0 additions and 2 deletions

View File

@ -106,8 +106,6 @@ namespace files {
} }
unsigned int setStdHandle(uint32_t nStdHandle, void *hHandle) { unsigned int setStdHandle(uint32_t nStdHandle, void *hHandle) {
FILE *fp = fpFromHandle(hHandle);
assert(fp);
switch (nStdHandle) { switch (nStdHandle) {
case ((uint32_t) -10): // STD_INPUT_HANDLE case ((uint32_t) -10): // STD_INPUT_HANDLE
stdinHandle = hHandle; stdinHandle = hHandle;