gas/
* stabs.c (generate_asm_file): Avoid warning about use of uninitialized variable. binutils/ * objcopy.c (copy_section): Avoid warnings.
This commit is contained in:
parent
2ede629fa8
commit
2f01ffbf77
4 changed files with 12 additions and 3 deletions
|
@ -2055,9 +2055,9 @@ copy_section (bfd *ibfd, sec_ptr isection, void *obfdarg)
|
|||
if (copy_byte >= 0)
|
||||
{
|
||||
/* Keep only every `copy_byte'th byte in MEMHUNK. */
|
||||
char *from = memhunk + copy_byte;
|
||||
char *from = (char *) memhunk + copy_byte;
|
||||
char *to = memhunk;
|
||||
char *end = memhunk + size;
|
||||
char *end = (char *) memhunk + size;
|
||||
|
||||
for (; from < end; from += interleave)
|
||||
*to++ = *from;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue