Skip to content

Commit 36f969d

Browse files
authored
Remove wrong assertion (#1117)
Introduced in commit 97c9186 from April 2024. Looks like a code move gone wrong.
1 parent ce4abdc commit 36f969d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

quickjs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3215,7 +3215,6 @@ static const char *JS_AtomGetStrRT(JSRuntime *rt, char *buf, int buf_size,
32153215
JSAtomStruct *p = rt->atom_array[atom];
32163216
*buf = '\0';
32173217
if (atom_is_free(p)) {
3218-
assert(!atom_is_free(p));
32193218
snprintf(buf, buf_size, "<free %x>", atom);
32203219
} else if (p != NULL) {
32213220
JSString *str = p;

0 commit comments

Comments
 (0)