Being careful is good and all, but if we don't trust the
static PyTypeObject *type = NULL;
two lines up, we need to reconsider our entire software universe.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
static PyTypeObject *type = NULL;
PyObject *mod;
- if (type != NULL) {
- return type;
- }
-
mod = PyImport_ImportModule("talloc");
if (mod == NULL) {
return NULL;
static PyTypeObject *type = NULL;
PyObject *mod;
- if (type != NULL) {
- return type;
- }
-
mod = PyImport_ImportModule("talloc");
if (mod == NULL) {
return NULL;
static PyTypeObject *type = NULL;
PyObject *mod;
- if (type != NULL) {
- return type;
- }
-
mod = PyImport_ImportModule("talloc");
if (mod == NULL) {
return NULL;