#432 Avoid "dead assignment" LLVM scan-build warnings (2)

RELEASE_1_0
new
Joseph Koshy
None
libdwarf
minor
defect
2013-12-28
2013-12-22
John Tytgat
No

Fix reducing a couple of LLVM scan-build warnings:

  • libdwarf/libdwarf_frame.c (_dwarf_frame_convert_inst): Remove trivial dead variable assigment.
  • libelf/elf_update.c (_libelf_write_elf): Likewise.
  • libelf/libelf_ar.c (GET_WORD): Likewise. (_libelf_ar_process_svr4_symtab): Likewise.
  • libelftc/libelftc_dem_arm.c (read_func_ptr): Likewise.
  • libelftc/libelftc_dem_gnu2.c (read_func_ptr): Likewise.

Patch attached.

1 Attachments

Discussion

  • John Tytgat
    John Tytgat
    2013-12-22

    Suggested patch

     
  • John Tytgat
    John Tytgat
    2013-12-22

    • type changed from task to defect
     
  • Joseph Koshy
    Joseph Koshy
    2013-12-28

    • Description has changed:

    Diff:

    • Component: SF.Net Project --> libdwarf