Repository: trafficserver Updated Branches: refs/heads/master 74c7e40b2 -> a4bc60ee8
TS-3885: Unused warning on Ubuntu Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a4bc60ee Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a4bc60ee Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a4bc60ee Branch: refs/heads/master Commit: a4bc60ee87444ff873b25635e19ec83ec090ef40 Parents: 74c7e40 Author: Bryan Call <[email protected]> Authored: Tue Nov 24 10:10:18 2015 -0800 Committer: Bryan Call <[email protected]> Committed: Tue Nov 24 10:10:18 2015 -0800 ---------------------------------------------------------------------- proxy/InkAPITest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a4bc60ee/proxy/InkAPITest.cc ---------------------------------------------------------------------- diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc index 1946447..208fb7f 100644 --- a/proxy/InkAPITest.cc +++ b/proxy/InkAPITest.cc @@ -331,7 +331,7 @@ client_handler(TSCont contp, TSEvent event, void *data) // happen until data arrives on the socket. Because we're just testing the accept() // we write a small amount of ignored data to make sure this gets triggered. UnixNetVConnection *vc = static_cast<UnixNetVConnection *>(data); - (void)::write(vc->con.fd, "Bob's your uncle", 16); + ink_release_assert(::write(vc->con.fd, "Bob's your uncle", 16) != 0); sleep(1); // XXX this sleep ensures the server end gets the accept event.
