From 21583eaa123f765f2a870af05d5f3d27ed5e0126 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 15 Dec 2023 23:54:14 +0900 Subject: [PATCH] libwasi: suppress a gcc warning --- libwasi/wasi_fdtable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libwasi/wasi_fdtable.c b/libwasi/wasi_fdtable.c index 2f634a45..7d5a2657 100644 --- a/libwasi/wasi_fdtable.c +++ b/libwasi/wasi_fdtable.c @@ -30,6 +30,8 @@ wasi_fdinfo_path(struct wasi_fdinfo *fdinfo) case WASI_FDINFO_UNUSED: return NULL; } + assert(false); + return NULL; } struct wasi_fdinfo *