Skip to content

Commit

Permalink
Update with noinit.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Feb 10, 2023
1 parent 12bad3f commit 14fbca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions day22.c3
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn void part1()
while (index < len)
{
int steps = -1;
int new_facing = void;
int new_facing @noinit;
for (int i = index; i < len; i++)
{
if (commands[i] >= 'A')
Expand Down Expand Up @@ -284,7 +284,7 @@ fn void part2()
while (index < len)
{
int steps = -1;
int new_facing = void;
int new_facing @noinit;
for (int i = index; i < len; i++)
{
if (commands[i] >= 'A')
Expand Down

0 comments on commit 14fbca1

Please sign in to comment.