[torsocks/master] Fix: explicitly ignore fileno return value

4 Apr
2014
4 Apr
'14
10:40 p.m.
commit 6297d8508aec184cba7073a0ca553e1831f7b57d Author: David Goulet <dgoulet@efficios.com> Date: Wed Aug 28 19:08:14 2013 -0400 Fix: explicitly ignore fileno return value Signed-off-by: David Goulet <dgoulet@efficios.com> --- src/common/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/log.c b/src/common/log.c index e415721..472dc49 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -163,7 +163,7 @@ int log_init(int level, const char *filepath, enum log_time_status t_status) } } else { /* The default output is stderr if no filepath is given. */ - fileno(stderr); + (void) fileno(stderr); if (errno != EBADF) { logconfig.fp = stderr; }
4096
Age (days ago)
4096
Last active (days ago)
0 comments
1 participants
participants (1)
-
dgoulet@torproject.org