From 3b181ab40a9e61d7351ee2bd1787b8e972e0f072 Mon Sep 17 00:00:00 2001 From: Simon Lindholm Date: Mon, 4 Jul 2022 19:38:49 +0200 Subject: [PATCH] Remove invalid assert --- files.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/files.cpp b/files.cpp index c52c6d2..160dad0 100644 --- a/files.cpp +++ b/files.cpp @@ -106,8 +106,6 @@ namespace files { } unsigned int setStdHandle(uint32_t nStdHandle, void *hHandle) { - FILE *fp = fpFromHandle(hHandle); - assert(fp); switch (nStdHandle) { case ((uint32_t) -10): // STD_INPUT_HANDLE stdinHandle = hHandle;