Python: avoid unused SwigMethods_proxydocs var (#2222)

Avoids a warning since 3aa302c08f
This commit is contained in:
Julien Schueller 2022-03-03 06:12:21 +01:00 committed by GitHub
commit 3ffbe29f52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -819,7 +819,8 @@ public:
Printf(f_wrappers, "%s\n", methods);
Append(methods_proxydocs, "\t { NULL, NULL, 0, NULL }\n");
Append(methods_proxydocs, "};\n");
Printf(f_wrappers, "%s\n", methods_proxydocs);
if ((fastproxy && !builtin) || have_fast_proxy_static_member_method_callback)
Printf(f_wrappers, "%s\n", methods_proxydocs);
if (builtin) {
Dump(f_builtins, f_wrappers);