Преглед на файлове

[c] 4.0 porting, remove unused vars.

badlogic преди 4 години
родител
ревизия
fd06ab2bae
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      spine-c/spine-c/src/spine/AnimationState.c

+ 0 - 5
spine-c/spine-c/src/spine/AnimationState.c

@@ -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) {
     spAttachmentTimeline* attachmentTimeline;
     spSlot* slot;
-    int frameIndex;
     float* frames;
 
     attachmentTimeline = SUB_CAST(spAttachmentTimeline, timeline);
@@ -606,10 +605,6 @@ void _spAnimationState_applyRotateTimeline (spAnimationState* self, spTimeline*
 	float *frames;
 	spBone* bone;
 	float r1, r2;
-	int frame;
-	float prevRotation;
-	float frameTime;
-	float percent;
 	float total, diff;
 	int /*boolean*/ current, dir;
 	UNUSED(self);