mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-30 21:42:18 +00:00
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.
This commit is contained in:
parent
537d9b8519
commit
821fc4aeef
@ -1,3 +1,7 @@
|
||||
2016-07-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* inflow.c (child_terminal_ours_1): Use ATTRIBUTE_UNUSED.
|
||||
|
||||
2016-07-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* corefile.c (reopen_exec_file): Only examine st.st_mtime if stat
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user