From c4fa77a5ecd801883e6c9a801c4cd2a903ff134b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 24 Aug 2012 22:56:26 +0200 Subject: [PATCH] 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. --- tools/js2c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ }; -- 2.7.4