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

Commit

Permalink
mdb_v8: remove useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Pacheco authored and tjfontaine committed Oct 8, 2013
1 parent 5921158 commit 2b9e3fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions deps/mdb_v8/mdb_v8.c
Expand Up @@ -1402,8 +1402,6 @@ jsstr_print_seq(uintptr_t addr, uint_t flags, char **bufp, size_t *lenp,

if (slicelen != -1)
nstrchrs = slicelen;
if (nstrchrs < 0)
nstrchrs = 0;

if ((flags & JSSTR_ISASCII) != 0) {
nstrbytes = nstrchrs;
Expand Down

0 comments on commit 2b9e3fb

Please sign in to comment.