Moev declaration of loop variable outside of the loop.
* objdump.c (disassemble_bytes): Remove C99-ism.
This commit is contained in:
parent
e0037b4cc7
commit
c87c17c1c2
@ -1,5 +1,6 @@
|
|||||||
2020-01-13 Nick Clifton <nickc@redhat.com>
|
2020-01-13 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* objdump.c (disassemble_bytes): Remove C99-ism.
|
||||||
* testsuite/binutils-all/debuginfod.exp: New tests.
|
* testsuite/binutils-all/debuginfod.exp: New tests.
|
||||||
|
|
||||||
2020-01-13 Thomas Troeger <tstroege@gmx.de>
|
2020-01-13 Thomas Troeger <tstroege@gmx.de>
|
||||||
|
@ -2623,8 +2623,9 @@ disassemble_bytes (struct disassemble_info * inf,
|
|||||||
|
|
||||||
size_t line_buffer_size = strlen (line_buffer);
|
size_t line_buffer_size = strlen (line_buffer);
|
||||||
char last_color = 0;
|
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)
|
if (color_output)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user