Moev declaration of loop variable outside of the loop.

* objdump.c (disassemble_bytes): Remove C99-ism.
This commit is contained in:
Nick Clifton
2020-01-13 17:28:41 +00:00
parent e0037b4cc7
commit c87c17c1c2
2 changed files with 3 additions and 1 deletions

View File

@ -2623,8 +2623,9 @@ disassemble_bytes (struct disassemble_info * inf,
size_t line_buffer_size = strlen (line_buffer);
char last_color = 0;
size_t i;
for (size_t i = 0; i <= line_buffer_size; ++i)
for (i = 0; i <= line_buffer_size; ++i)
{
if (color_output)
{