Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-07-25 08:45:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-07-25 08:45:20 +0400
commit17533e534fab0de8250348c25c5d84bab4b40c48 (patch)
treedaf14367c33cf134304041f2ce019d1b46e82e7b /source/blender/python/BPY_interface.c
parentcb2d93e09df5a73c8a92f0bc551fb311d2a7d9a5 (diff)
removing unneeded checks
Diffstat (limited to 'source/blender/python/BPY_interface.c')
-rw-r--r--source/blender/python/BPY_interface.c2
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 */