diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-07-25 08:45:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-07-25 08:45:20 +0400 |
commit | 17533e534fab0de8250348c25c5d84bab4b40c48 (patch) | |
tree | daf14367c33cf134304041f2ce019d1b46e82e7b /source/blender/python/BPY_interface.c | |
parent | cb2d93e09df5a73c8a92f0bc551fb311d2a7d9a5 (diff) |
removing unneeded checks
Diffstat (limited to 'source/blender/python/BPY_interface.c')
-rw-r--r-- | source/blender/python/BPY_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/BPY_interface.c b/source/blender/python/BPY_interface.c index f5de2b48c6a..bcdf5ecee9c 100644 --- a/source/blender/python/BPY_interface.c +++ b/source/blender/python/BPY_interface.c @@ -1341,7 +1341,7 @@ int BPY_pyconstraint_targets(bPythonConstraint *con, float targetmat[][4]) return 0; } - if (retval) {Py_XDECREF( retval );} + Py_XDECREF( retval ); retval = NULL; /* try to find USE_TARGET global constant */ |