aboutsummaryrefslogtreecommitdiff
path: root/2023/15
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-12-25 17:56:34 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-12-25 17:56:34 +0100
commit94d0033ed89bb5bfb6500051296892fb7cea6c29 (patch)
tree245eac2218310c958c2df2fad5109ea4f7b2a9d9 /2023/15
parent6a480c4eb9c96c82a8fd3663f0fbee4d32e56f19 (diff)
downloadaoc-94d0033ed89bb5bfb6500051296892fb7cea6c29.tar.gz
aoc-94d0033ed89bb5bfb6500051296892fb7cea6c29.zip
Small cleanup
Diffstat (limited to '2023/15')
-rw-r--r--2023/15/15b.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/2023/15/15b.c b/2023/15/15b.c
index 15b97f9..bfdafe4 100644
--- a/2023/15/15b.c
+++ b/2023/15/15b.c
@@ -12,8 +12,7 @@ int main() {
12 for (b = line, c = 0; *b != '\n'; b++) { 12 for (b = line, c = 0; *b != '\n'; b++) {
13 switch (*b) { 13 switch (*b) {
14 case ',': 14 case ',':
15 c = 0; 15 c = l = 0;
16 l = 0;
17 break; 16 break;
18 case '=': 17 case '=':
19 int64_t i; 18 int64_t i;

Generated with cgit - Back to sebastiano.tronto.net