diff options
-rw-r--r-- | lib/sbi/sbi_string.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sbi/sbi_string.c b/lib/sbi/sbi_string.c index c163f31..9ebea69 100644 --- a/lib/sbi/sbi_string.c +++ b/lib/sbi/sbi_string.c @@ -59,7 +59,6 @@ size_t sbi_strnlen(const char *str, size_t count) while (*str != '\0' && ret < count) { ret++; str++; - count--; } return ret; |