Skip to content

Commit c4fa77a

Browse files
committed
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.
1 parent c78678b commit c4fa77a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/js2c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def ReadMacros(lines):
227227
228228
%(native_lines)s\
229229
230-
{ NULL, NULL } /* sentinel */
230+
{ NULL, NULL, 0 } /* sentinel */
231231
232232
};
233233

0 commit comments

Comments
 (0)