diff options
author | Tom Tromey <tom@tromey.com> | 2016-06-06 13:43:50 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-07-14 10:35:37 -0600 |
commit | 821fc4aeef26bc7e5d5943c2f5d009a23e16883c (patch) | |
tree | 9d1a5330d871a78d6010d83d2ffe5c0019e331d9 /gdb/inflow.c | |
parent | 537d9b851957475a8122949939023c81b1df1673 (diff) | |
download | fsf-binutils-gdb-821fc4aeef26bc7e5d5943c2f5d009a23e16883c.zip fsf-binutils-gdb-821fc4aeef26bc7e5d5943c2f5d009a23e16883c.tar.gz fsf-binutils-gdb-821fc4aeef26bc7e5d5943c2f5d009a23e16883c.tar.bz2 |
Add one use of ATTRIBUTE_UNUSED
One spot needed ATTRIBUTE_UNUSED to cope with the new warnings.
The case in inflow.c is just a mass of ifdefs; and while the only use
of "result" is guarded by "#if 0", I thought it simplest to leave it
all in place.
2016-07-14 Tom Tromey <tom@tromey.com>
* inflow.c (child_terminal_ours_1): Use ATTRIBUTE_UNUSED.
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r-- | gdb/inflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c index 4cbcd5c..27ce0b0 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -398,7 +398,7 @@ child_terminal_ours_1 (int output_only) pgrp. */ sighandler_t osigttou = NULL; #endif - int result; + int result ATTRIBUTE_UNUSED; #ifdef SIGTTOU if (job_control) |