commit 6297d8508aec184cba7073a0ca553e1831f7b57d Author: David Goulet <dgou...@efficios.com> Date: Wed Aug 28 19:08:14 2013 -0400
Fix: explicitly ignore fileno return value Signed-off-by: David Goulet <dgou...@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; } _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits