Fix some cppcheck errors

cppcheck: fix broken pre-processor statement
cppcheck: fix Uninitialized struct members in canvas editor plugin
cppcheck: fix uninitialized struct member: method_api.is_virtual
This commit is contained in:
Simon Wenner 2018-10-04 00:58:37 +02:00 committed by Rémi Verschelde
parent 3ca2afc09c
commit 10718b0961
3 changed files with 5 additions and 1 deletions

View file

@ -280,6 +280,10 @@ private:
Transform2D xform;
float length;
uint64_t last_pass;
BoneList() :
length(0.f),
last_pass(0) {}
};
uint64_t bone_last_frame;