From 6746ca4ae2aa0623a56676eb77bb63975e1016b0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 Feb 2023 09:41:20 -0700 Subject: [PATCH] [wasm] Minor remove undefine function --- src/wasm/sample/c/shape-fallback.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wasm/sample/c/shape-fallback.cc b/src/wasm/sample/c/shape-fallback.cc index 004be0ef0..0a2ab9e09 100644 --- a/src/wasm/sample/c/shape-fallback.cc +++ b/src/wasm/sample/c/shape-fallback.cc @@ -3,7 +3,6 @@ #include extern "C" { -void abort (); void debugprint (const char *s); void debugprint1 (const char *s, int32_t); void debugprint2 (const char *s, int32_t, int32_t); @@ -19,8 +18,7 @@ shape (void *shape_plan, face_t *face = font_get_face (font); blob_t blob = BLOB_INIT; - if (!face_copy_table (face, TAG ('c','m','a','p'), &blob)) - abort (); + face_copy_table (face, TAG ('c','m','a','p'), &blob); debugprint1 ("cmap length", blob.length);