projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c78678b
)
tools: fix missing initializer warning in js2c.py
author
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 24 Aug 2012 20:56:26 +0000
(22:56 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 24 Aug 2012 20:56:28 +0000
(22:56 +0200)
Fix a -Wmissing-field-initializers style compiler warning in the code that's
generated by js2c.py.
tools/js2c.py
patch
|
blob
|
history
diff --git
a/tools/js2c.py
b/tools/js2c.py
index
69ec8a8
..
3406373
100755
(executable)
--- 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 */
};