chore(c-api) Remove a warning by commenting an unreachable code.

This commit is contained in:
Ivan Enderlin
2020-11-10 15:56:15 +01:00
parent cf9b1018c1
commit 7b727ccffe

View File

@@ -16,9 +16,11 @@ pub unsafe extern "C" fn wasm_table_new(
) -> Option<Box<wasm_table_t>> {
let table_type = table_type.inner().table_type.clone();
let init_val = todo!("get val from init somehow");
/*
let table = c_try!(Table::new(&store.inner, table_type, init_val));
Some(Box::new(wasm_table_t { inner: table }))
*/
}
#[no_mangle]