pedantic warning cleanup, also remove texspace_edit() since its been added using a different method.

This commit is contained in:
2011-02-27 08:31:10 +00:00
parent f73c993b16
commit 2e5eb41522
50 changed files with 101 additions and 137 deletions

View File

@@ -233,6 +233,8 @@ static char *copy_values(PyObject *seq, PointerRNA *ptr, PropertyRNA *prop, int
int totdim= RNA_property_array_dimension(ptr, prop, NULL);
const int seq_size= PySequence_Size(seq);
assert(seq_size != -1);
for (i= 0; i < seq_size; i++) {
PyObject *item= PySequence_GetItem(seq, i);