diff options
author | Keith Winstein <keithw@cs.stanford.edu> | 2023-02-25 11:18:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 19:18:39 +0000 |
commit | 6a11a5bf6d4f576431b38b72e9f30e5b426d21bb (patch) | |
tree | fa4e8e0e6712465fe67bd9dbb7f93ca1c35ad790 /src | |
parent | b1c375caae3830f73120d7d4fe9118bf2895c57c (diff) | |
download | wabt-6a11a5bf6d4f576431b38b72e9f30e5b426d21bb.tar.gz wabt-6a11a5bf6d4f576431b38b72e9f30e5b426d21bb.tar.bz2 wabt-6a11a5bf6d4f576431b38b72e9f30e5b426d21bb.zip |
c-writer.cc: omit dummy_member in one case where it was unnecessary (NFC) (#2149)
Diffstat (limited to 'src')
-rw-r--r-- | src/c-writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc index e943311f..bdbd2bc1 100644 --- a/src/c-writer.cc +++ b/src/c-writer.cc @@ -1594,7 +1594,7 @@ void CWriter::WriteModuleInstance() { // C forbids an empty struct if (module_->globals.empty() && module_->memories.empty() && - module_->tables.empty()) { + module_->tables.empty() && import_func_module_set_.empty()) { Write("char dummy_member;", Newline()); } |