Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 2b9e3fb

Browse files
Dave Pachecotjfontaine
authored andcommitted
mdb_v8: remove useless check
1 parent 5921158 commit 2b9e3fb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

deps/mdb_v8/mdb_v8.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,8 +1402,6 @@ jsstr_print_seq(uintptr_t addr, uint_t flags, char **bufp, size_t *lenp,
14021402

14031403
if (slicelen != -1)
14041404
nstrchrs = slicelen;
1405-
if (nstrchrs < 0)
1406-
nstrchrs = 0;
14071405

14081406
if ((flags & JSSTR_ISASCII) != 0) {
14091407
nstrbytes = nstrchrs;

0 commit comments

Comments
 (0)