From: Ben Noordhuis Date: Fri, 24 Aug 2012 20:56:26 +0000 (+0200) Subject: tools: fix missing initializer warning in js2c.py X-Git-Tag: v0.9.1~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4fa77a5ecd801883e6c9a801c4cd2a903ff134b;p=platform%2Fupstream%2Fnodejs.git 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. --- diff --git a/tools/js2c.py b/tools/js2c.py index 69ec8a8..3406373 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 */ };