Cleanup: unused warning building as a Python module

This commit is contained in:
2021-03-10 23:13:03 +11:00
parent 493628e541
commit 5991c5c928

View File

@@ -304,6 +304,7 @@ static struct _inittab bpy_internal_modules[] = {
{NULL, NULL},
};
#ifndef WITH_PYTHON_MODULE
/**
* Convenience function for #BPY_python_start.
*
@@ -321,6 +322,7 @@ static void pystatus_exit_on_error(PyStatus status)
Py_ExitStatusException(status);
}
}
#endif
/* call BPY_context_set first */
void BPY_python_start(bContext *C, int argc, const char **argv)