Created
June 29, 2015 13:58
-
-
Save oliora/b19f20c4b374e99be4af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx | |
index 14e2794..01bb31d 100644 | |
--- a/Source/Modules/python.cxx | |
+++ b/Source/Modules/python.cxx | |
@@ -2378,7 +2378,7 @@ public: | |
Printv(f->def, linkage, builtin_ctor ? "int " : "PyObject *", wname, "(PyObject *self, PyObject *args) {", NIL); | |
Wrapper_add_local(f, "argc", "int argc"); | |
- Printf(tmp, "PyObject *argv[%d]", maxargs + 1); | |
+ Printf(tmp, "PyObject *argv[%d] = {}", maxargs + 1); | |
Wrapper_add_local(f, "argv", tmp); | |
if (!fastunpack) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment