summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-08-24 22:56:26 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-08-24 22:56:28 +0200
commitc4fa77a5ecd801883e6c9a801c4cd2a903ff134b (patch)
treef2649b53972dc21c2e067faa5f78f73a360b273e
parentc78678b081d8c37b8bbc616e4cb782cf32645619 (diff)
downloadnode-new-c4fa77a5ecd801883e6c9a801c4cd2a903ff134b.tar.gz
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.
-rwxr-xr-xtools/js2c.py2
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 */
};