Skip to content

Commit

Permalink
Remove useless conditional
Browse files Browse the repository at this point in the history
`i` is an `MVMuint64`, so it will always be >= 0.
  • Loading branch information
MasterDuke17 committed Jul 5, 2018
1 parent 8733b8b commit cc268bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/coerce.c
Expand Up @@ -175,7 +175,7 @@ MVMString * MVM_coerce_u_s(MVMThreadContext *tc, MVMuint64 i) {
char buffer[64];
int len;
/* See if we can hit the cache. */
int cache = 0 <= i && i < MVM_INT_TO_STR_CACHE_SIZE;
int cache = i < MVM_INT_TO_STR_CACHE_SIZE;
if (cache) {
MVMString *cached = tc->instance->int_to_str_cache[i];
if (cached)
Expand Down

0 comments on commit cc268bb

Please sign in to comment.