minor code touchup

This commit is contained in:
hyunghwan.chung 2019-12-11 08:23:40 +00:00
parent e46356071b
commit a1b942f80d
2 changed files with 2 additions and 4 deletions

View File

@ -27,10 +27,6 @@
/* this file is supposed to be included by opt.c multiple times */
#include <moo-opt.h>
#include <moo-utl.h>
/*
* moo_getopt is based on BSD getopt.
* --------------------------------------------------------------------------

View File

@ -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;