Cleanup: use post increment/decrement

When the result isn't used, prefer post increment/decrement
(already used nearly everywhere in Blender).
This commit is contained in:
2019-09-08 00:12:26 +10:00
parent ab823176d3
commit 0b2d1badec
217 changed files with 1114 additions and 1114 deletions

View File

@@ -501,7 +501,7 @@ void psys_tasks_free(ParticleTask *tasks, int numtasks)
int i;
/* threads */
for (i = 0; i < numtasks; ++i) {
for (i = 0; i < numtasks; i++) {
if (tasks[i].rng) {
BLI_rng_free(tasks[i].rng);
}