From: Petr Machata Date: Tue, 16 Jun 2009 14:21:16 +0000 (+0200) Subject: dwarflint: Cosmetic X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ce2e0870c93424ebdacd6713cba98fc86cf1aac;p=thirdparty%2Felfutils.git dwarflint: Cosmetic --- diff --git a/src/dwarflint.c b/src/dwarflint.c index b0b8ca7a0..147e10dae 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -2511,10 +2511,7 @@ relocation_next (struct relocation_data *reloc, uint64_t offset, while (reloc->index < reloc->size) { - struct where reloc_where = where_from_reloc (reloc, where); - struct relocation *rel = reloc->rel + reloc->index; - where_reset_2 (&reloc_where, rel->offset); /* This relocation entry is ahead of us. */ if (rel->offset > offset) @@ -2529,6 +2526,8 @@ relocation_next (struct relocation_data *reloc, uint64_t offset, { if (st != skip_ok) { + struct where reloc_where = where_from_reloc (reloc, where); + where_reset_2 (&reloc_where, rel->offset); void (*w) (const struct where *, const char *, ...) = wr_error; (*w) (&reloc_where, ((const char *[])