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:
authorBrecht Van Lommel <brecht@blender.org>2021-06-24 20:17:51 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-06-24 20:35:23 +0300
commitb5840f9b5ba912f016db01dfcd5b28f32195c147 (patch)
tree33863cc91b80cb00c0745077a3f256631bd38814 /source/blender/editors/transform/transform_convert_sequencer.c
parentbeb6399ae5971fdbbf8aa6eb8832200afabeb97d (diff)
Cleanup: compiler warnings with clang
* Mark either all or no class methods with override * Don't use zero sized array since it has a different size in C and C++. Using a little more memory here is not significant. * Don't use deprecated mechanism to mark private GSet members in clang just like we don't for MSVC, it warns even for simple zero initialization.
Diffstat (limited to 'source/blender/editors/transform/transform_convert_sequencer.c')
-rw-r--r--source/blender/editors/transform/transform_convert_sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_convert_sequencer.c b/source/blender/editors/transform/transform_convert_sequencer.c
index 6a23b10b079..2cb0e3c8589 100644
--- a/source/blender/editors/transform/transform_convert_sequencer.c
+++ b/source/blender/editors/transform/transform_convert_sequencer.c
@@ -465,7 +465,7 @@ static void freeSeqData(TransInfo *t, TransDataContainer *tc, TransCustomData *c
SeqCollection *transformed_strips = seq_transform_collection_from_transdata(tc);
- if ((t->state == TRANS_CANCEL)) {
+ if (t->state == TRANS_CANCEL) {
seq_transform_cancel(t, transformed_strips);
free_transform_custom_data(custom_data);
return;