Skip to content

Commit

Permalink
PR middle-end/56526
Browse files Browse the repository at this point in the history
	* simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
	wrapper_sect_offset to avoid a warning.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196466 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
jakub committed Mar 5, 2013
1 parent 6362866 commit 9528166
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions libiberty/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2013-03-05 Jakub Jelinek <jakub@redhat.com>

PR middle-end/56526
* simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
wrapper_sect_offset to avoid a warning.

2013-03-01 Andreas Schwab <schwab@linux-m68k.org>

* obstacks.texi (Obstacks): Trim @node to only contain the
Expand Down
2 changes: 1 addition & 1 deletion libiberty/simple-object-mach-o.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ simple_object_mach_o_segment (simple_object_read *sobj, off_t offset,
size_t index_size;
unsigned int n_wrapped_sects;
size_t wrapper_sect_size;
off_t wrapper_sect_offset;
off_t wrapper_sect_offset = 0;

fetch_32 = (omr->is_big_endian
? simple_object_fetch_big_32
Expand Down

0 comments on commit 9528166

Please sign in to comment.