diff options
Diffstat (limited to 'bfd/elfxx-riscv.c')
-rw-r--r-- | bfd/elfxx-riscv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index 0a0711e..dc6db0c 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -1401,11 +1401,11 @@ static bfd_boolean riscv_multi_letter_ext_valid_p (const char *ext, const char *const *known_exts) { - for (size_t i = 0; known_exts[i]; ++i) - { - if (!strcmp (ext, known_exts[i])) - return TRUE; - } + size_t i; + + for (i = 0; known_exts[i]; ++i) + if (!strcmp (ext, known_exts[i])) + return TRUE; return FALSE; } |