Skip to content

Commit

Permalink
Box2d: compiles without warnings in llvm 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Apr 9, 2011
1 parent 66903aa commit 1062c16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions external/Box2d/Box2D/Dynamics/b2World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,8 @@ void b2World::DrawShape(b2Fixture* fixture, const b2Transform& xf, const b2Color
m_debugDraw->DrawSolidPolygon(vertices, vertexCount, color);
}
break;
default: // cocos2d patch. Prevents compiler warning in llvm 2.0
break;
}
}

Expand Down

0 comments on commit 1062c16

Please sign in to comment.