Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erincatto committed Jan 27, 2025
1 parent ef2847e commit 32285cf
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/broad_phase.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,10 @@ void b2ValidateNoEnlarged( const b2BroadPhase* bp )
#if B2_VALIDATE == 1
for ( int j = 0; j < b2_bodyTypeCount; ++j )
{
const b2DynamicTree* tree = bp->trees + j;
const b2DynamicTree* tree = bp->trees + j;f
b2DynamicTree_ValidateNoEnlarged( tree );
}
#else
B2_MAYBE_UNUSED( bp );
B2_UNUSED( bp );
#endif
}
2 changes: 1 addition & 1 deletion src/constraint_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static int b2AssignJointColor( b2ConstraintGraph* graph, int bodyIdA, int bodyId
}
}
#else
B2_MAYBE_UNUSED( graph, bodyIdA, bodyIdB );
B2_UNUSED( graph, bodyIdA, bodyIdB );
#endif

return B2_OVERFLOW_INDEX;
Expand Down
4 changes: 2 additions & 2 deletions src/dynamic_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ void b2DynamicTree_Validate( const b2DynamicTree* tree )

B2_ASSERT( tree->nodeCount + freeCount == tree->nodeCapacity );
#else
B2_MAYBE_UNUSED( tree );
B2_UNUSED( tree );
#endif
}

Expand All @@ -1043,7 +1043,7 @@ void b2DynamicTree_ValidateNoEnlarged(const b2DynamicTree* tree)
}
}
#else
B2_MAYBE_UNUSED( tree );
B2_UNUSED( tree );
#endif
}

Expand Down
4 changes: 2 additions & 2 deletions src/id_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ void b2ValidateFreeId( b2IdPool* pool, int id )

void b2ValidateFreeId( b2IdPool* pool, int id )
{
B2_MAYBE_UNUSED( pool );
B2_MAYBE_UNUSED( id );
B2_UNUSED( pool );
B2_UNUSED( id );
}

#endif
4 changes: 2 additions & 2 deletions src/island.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ void b2ValidateIsland( b2World* world, int islandId )

void b2ValidateIsland( b2World* world, int islandId )
{
B2_MAYBE_UNUSED( world );
B2_MAYBE_UNUSED( islandId );
B2_UNUSED( world );
B2_UNUSED( islandId );
}
#endif
6 changes: 3 additions & 3 deletions src/world.c
Original file line number Diff line number Diff line change
Expand Up @@ -3230,17 +3230,17 @@ void b2ValidateContacts( b2World* world )

void b2ValidateConnectivity( b2World* world )
{
B2_MAYBE_UNUSED( world );
B2_UNUSED( world );
}

void b2ValidateSolverSets( b2World* world )
{
B2_MAYBE_UNUSED( world );
B2_UNUSED( world );
}

void b2ValidateContacts( b2World* world )
{
B2_MAYBE_UNUSED( world );
B2_UNUSED( world );
}

#endif

0 comments on commit 32285cf

Please sign in to comment.