Skip to content

Commit

Permalink
static const
Browse files Browse the repository at this point in the history
  • Loading branch information
Bret Ambrose committed Oct 25, 2023
1 parent 6d04fa8 commit 4cba9d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/priority_queue_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ static int s_priority_queue_clear_backpointers_test(struct aws_allocator *alloca

ASSERT_SUCCESS(aws_priority_queue_init_dynamic(&queue, allocator, 16, sizeof(int), s_compare_ints));

const size_t NODE_COUNT = 16;
static const size_t NODE_COUNT = 16;

struct aws_priority_queue_node queue_nodes[NODE_COUNT];

for (size_t i = 0; i < NODE_COUNT; ++i) {
Expand Down

0 comments on commit 4cba9d2

Please sign in to comment.