aboutsummaryrefslogtreecommitdiff
path: root/gdb/trad-frame.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-05-18 11:40:08 +0100
committerPedro Alves <palves@redhat.com>2017-05-18 12:56:38 +0100
commit59cc050d893d1e8c75547de950a35e809588f12f (patch)
treebc290206cef1b5ab97344ea246c5fb8973988901 /gdb/trad-frame.c
parentc8f6abd10d62f82874e31959bf986606bd919d39 (diff)
downloadgdb-59cc050d893d1e8c75547de950a35e809588f12f.zip
gdb-59cc050d893d1e8c75547de950a35e809588f12f.tar.gz
gdb-59cc050d893d1e8c75547de950a35e809588f12f.tar.bz2
gdb.base/fileio.c: Fix several -Wmaybe-uninitialized warnings
src/gdb/testsuite/gdb.base/fileio.c: In function ‘test_write’: src/gdb/testsuite/gdb.base/fileio.c:158:5: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf ("write 1: ret = %d, errno = %d\n", ret, errno); ^ gdb/ChangeLog: 2017-05-18 Pedro Alves <palves@redhat.com> * gdb.base/fileio.c (test_write, test_read, test_close) (test_fstat): Don't print 'ret' in the fail path.
Diffstat (limited to 'gdb/trad-frame.c')
0 files changed, 0 insertions, 0 deletions