Browse Source

tools: fix missing initializer warning in js2c.py

Fix a -Wmissing-field-initializers style compiler warning in the code that's
generated by js2c.py.
v0.9.1-release
Ben Noordhuis 13 years ago
parent
commit
c4fa77a5ec
  1. 2
      tools/js2c.py

2
tools/js2c.py

@ -227,7 +227,7 @@ static const struct _native natives[] = {
%(native_lines)s\
{ NULL, NULL } /* sentinel */
{ NULL, NULL, 0 } /* sentinel */
};

Loading…
Cancel
Save