You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/02/25 21:24:51 UTC
[trafficserver] branch master updated: Fix for ignored return value
in Ubuntu builds.
This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new bae599d Fix for ignored return value in Ubuntu builds.
bae599d is described below
commit bae599dba5e92d9e503b4c908576a540c38a3614
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Sat Feb 25 00:48:45 2017 -0600
Fix for ignored return value in Ubuntu builds.
---
lib/ts/signals.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ts/signals.cc b/lib/ts/signals.cc
index c94950c..1beddc7 100644
--- a/lib/ts/signals.cc
+++ b/lib/ts/signals.cc
@@ -170,7 +170,7 @@ signal_format_siginfo(int signo, siginfo_t *info, const char *msg)
snprintf(buf, sizeof(buf), "%s: received signal %d\n", msg, signo);
#endif
- write(STDERR_FILENO, buf, strlen(buf));
+ (void)write(STDERR_FILENO, buf, strlen(buf));
}
void
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].