Repository: trafficserver Updated Branches: refs/heads/master 293812689 -> 4cc3fa3f6
Fixing clang static analysis warning Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4cc3fa3f Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4cc3fa3f Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4cc3fa3f Branch: refs/heads/master Commit: 4cc3fa3f6735f9117ab9a7096ec43e0ebfcbd49f Parents: 2938126 Author: Brian Geffon <[email protected]> Authored: Sun Nov 16 11:42:28 2014 -0800 Committer: Brian Geffon <[email protected]> Committed: Sun Nov 16 11:42:28 2014 -0800 ---------------------------------------------------------------------- cmd/traffic_crashlog/traffic_crashlog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4cc3fa3f/cmd/traffic_crashlog/traffic_crashlog.cc ---------------------------------------------------------------------- diff --git a/cmd/traffic_crashlog/traffic_crashlog.cc b/cmd/traffic_crashlog/traffic_crashlog.cc index f41bbaa..39f0ec1 100644 --- a/cmd/traffic_crashlog/traffic_crashlog.cc +++ b/cmd/traffic_crashlog/traffic_crashlog.cc @@ -107,7 +107,7 @@ main(int /* argc ATS_UNUSED */, char **argv) // privileged, but won't be able to open files in /proc or ptrace the target. This really should be fixed // in traffic_manager. if (getuid() == 0) { - seteuid(0); + ATS_UNUSED_RETURN(seteuid(0)); } Layout::create();
