diff --git a/src/c/file.d b/src/c/file.d index 773a0ea01..e97505657 100755 --- a/src/c/file.d +++ b/src/c/file.d @@ -4185,9 +4185,8 @@ ecl_stream_to_handle(cl_object s, bool output) #if defined(ECL_MS_WINDOWS_HOST) case ecl_smm_io_wcon: #endif - return -1; default: - ecl_internal_error("illegal stream mode"); + return -1; } }