This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] bfd: Avoid incrementing uninitialized variable
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Ed Maste <carpeddiem at gmail dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Mon, 9 Feb 2015 13:56:32 -0800
- Subject: Re: [PATCH] bfd: Avoid incrementing uninitialized variable
- Authentication-results: sourceware.org; auth=none
- References: <CAPyFy2AxCMz02Et-VMWMrNZz=3-VPp80aesFGte_BNfJ8dhAqw at mail dot gmail dot com>
On Mon, Feb 9, 2015 at 1:38 PM, Ed Maste <carpeddiem@gmail.com> wrote:
> Clang's uninitialized variable warning complained about this.
>
> bfd/ChangeLog:
>
> 2015-02-09 Ed Maste <emaste@freebsd.org>
>
> * elf32-i386.c (elf_i386_get_plt_sym_val): Avoid incrementing
> uninitialized and unused variable.
> * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.
I checked it in for you.
Thanks.
--
H.J.