[c] 4.0 porting, remove unused vars.

This commit is contained in:
badlogic 2021-04-07 14:37:40 +02:00
parent f74e80ae89
commit fd06ab2bae

View File

@ -580,7 +580,6 @@ static int binarySearch1 (float *values, int valuesLength, float target) {
void _spAnimationState_applyAttachmentTimeline(spAnimationState* self, spTimeline* timeline, spSkeleton* skeleton, float time, spMixBlend blend, int /*bool*/ attachments) { void _spAnimationState_applyAttachmentTimeline(spAnimationState* self, spTimeline* timeline, spSkeleton* skeleton, float time, spMixBlend blend, int /*bool*/ attachments) {
spAttachmentTimeline* attachmentTimeline; spAttachmentTimeline* attachmentTimeline;
spSlot* slot; spSlot* slot;
int frameIndex;
float* frames; float* frames;
attachmentTimeline = SUB_CAST(spAttachmentTimeline, timeline); attachmentTimeline = SUB_CAST(spAttachmentTimeline, timeline);
@ -606,10 +605,6 @@ void _spAnimationState_applyRotateTimeline (spAnimationState* self, spTimeline*
float *frames; float *frames;
spBone* bone; spBone* bone;
float r1, r2; float r1, r2;
int frame;
float prevRotation;
float frameTime;
float percent;
float total, diff; float total, diff;
int /*boolean*/ current, dir; int /*boolean*/ current, dir;
UNUSED(self); UNUSED(self);