Fix GCC false warning
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Jul 2015 20:39:57 +0000 (22:39 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Jul 2015 20:39:57 +0000 (22:39 +0200)
commitdecf8d9a5f91912768d52cd075b6a25617a90d1c
tree1019cfdf5e4958c299d55090af5fc48d3fa73923
parent2fd0f80d57e8437d70ba79921efd3ce02e755755
Fix GCC false warning

At least on
gcc-4.4.7-11.el6.i686
./configure --enable-64-bit-bfd --enable-targets=all
GDB does not build due to:
cc1: warnings being treated as errors
s390-linux-tdep.c: In function ‘s390_handle_arg’:
s390-linux-tdep.c:2575: error: ‘val’ may be used uninitialized in this function

gdb/ChangeLog
2015-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>

Fix GCC false warning.
* s390-linux-tdep.c (s390_handle_arg): Initialize VAL.
gdb/ChangeLog
gdb/s390-linux-tdep.c
This page took 0.042587 seconds and 4 git commands to generate.