Skip to content

Commit 68d1f31

Browse files
authored
Merge pull request slembcke#206 from aganm/redundant
Remove duplicate assignments in cpSpaceDebug
2 parents ee55596 + a3cae1f commit 68d1f31

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cpSpaceDebug.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ cpSpaceDebugDrawConstraint(cpConstraint *constraint, cpSpaceDebugDrawOptions *op
123123
options->drawSegment(a, b, color, data);
124124
} else if(cpConstraintIsDampedSpring(constraint)){
125125
cpDampedSpring *spring = (cpDampedSpring *)constraint;
126-
cpDataPointer data = options->data;
127-
cpSpaceDebugColor color = options->constraintColor;
128126

129127
cpVect a = cpTransformPoint(body_a->transform, spring->anchorA);
130128
cpVect b = cpTransformPoint(body_b->transform, spring->anchorB);

0 commit comments

Comments
 (0)