From a1b942f80d737fb1e873a39afc9d134da6ccf37a Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Wed, 11 Dec 2019 08:23:40 +0000 Subject: [PATCH] minor code touchup --- moo/lib/opt-imp.h | 4 ---- moo/lib/std.c | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/moo/lib/opt-imp.h b/moo/lib/opt-imp.h index ad3a160..0d56353 100644 --- a/moo/lib/opt-imp.h +++ b/moo/lib/opt-imp.h @@ -27,10 +27,6 @@ /* this file is supposed to be included by opt.c multiple times */ - -#include -#include - /* * moo_getopt is based on BSD getopt. * -------------------------------------------------------------------------- diff --git a/moo/lib/std.c b/moo/lib/std.c index 87b6587..2fe9662 100644 --- a/moo/lib/std.c +++ b/moo/lib/std.c @@ -4229,10 +4229,12 @@ moo_t* moo_openstd (moo_oow_t xtnsize, const moo_cfgstd_t* cfg, moo_errinf_t* er #if defined(EMSCRIPTEN) { +/* TODO: this is experimental. make it proper */ moo_bitmask_t m = ~(moo_bitmask_t)0; moo_setoption (moo, MOO_OPTION_LOG_MASK, &m); } #endif + { moo_bitmask_t bm = 0;