diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-24 22:56:26 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-24 22:56:28 +0200 |
commit | c4fa77a5ecd801883e6c9a801c4cd2a903ff134b (patch) | |
tree | f2649b53972dc21c2e067faa5f78f73a360b273e /tools | |
parent | c78678b081d8c37b8bbc616e4cb782cf32645619 (diff) | |
download | android-node-v8-c4fa77a5ecd801883e6c9a801c4cd2a903ff134b.tar.gz android-node-v8-c4fa77a5ecd801883e6c9a801c4cd2a903ff134b.tar.bz2 android-node-v8-c4fa77a5ecd801883e6c9a801c4cd2a903ff134b.zip |
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.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/js2c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js2c.py b/tools/js2c.py index 69ec8a83c4..3406373b71 100755 --- a/tools/js2c.py +++ b/tools/js2c.py @@ -227,7 +227,7 @@ static const struct _native natives[] = { %(native_lines)s\ - { NULL, NULL } /* sentinel */ + { NULL, NULL, 0 } /* sentinel */ }; |