diff --git a/armsrc/string.c b/armsrc/string.c index 4caa027a2..8dbe26808 100644 --- a/armsrc/string.c +++ b/armsrc/string.c @@ -50,8 +50,7 @@ void memxor(uint8_t *dest, uint8_t *src, size_t len) { int strlen(const char *str) { const char *p; - for (p = str; *p != '\0'; ++p) { - } + for (p = str; *p != '\0'; ++p) {}; return p - str; }