summaryrefslogtreecommitdiff
path: root/src/common.cc
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-03 07:57:50 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-03 07:57:50 +0100
commit010b3e2e1eb3870724bbde6de7a0929b20bf2f75 (patch)
treea4e51e00669fde113ba38c38dac2d92c8e9a0387 /src/common.cc
parentf007cab7e755cb2f0353670765f890caf446d267 (diff)
working on utf8 handling and lexing
Diffstat (limited to 'src/common.cc')
-rw-r--r--src/common.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common.cc b/src/common.cc
index 64c462b..de2f6de 100644
--- a/src/common.cc
+++ b/src/common.cc
@@ -122,7 +122,6 @@ static inline void link_remove(Link* item) {
Link* next = item->next;
if (prev != nullptr) prev->next = next;
-
if (next != nullptr) next->prev = prev;
item->prev = item->next = nullptr;