You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2015/07/07 16:36:26 UTC

trafficserver git commit: TS-3718: Remove unused member variables/functions. This closes #239.

Repository: trafficserver
Updated Branches:
  refs/heads/master 6e35feb88 -> 5f33c2db7


TS-3718: Remove unused member variables/functions.  This closes #239.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/5f33c2db
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/5f33c2db
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/5f33c2db

Branch: refs/heads/master
Commit: 5f33c2db733b1e37c022564b7d40c3a9e976c880
Parents: 6e35feb
Author: shinrich <sh...@yahoo-inc.com>
Authored: Tue Jul 7 09:35:11 2015 -0500
Committer: shinrich <sh...@yahoo-inc.com>
Committed: Tue Jul 7 09:36:17 2015 -0500

----------------------------------------------------------------------
 proxy/logging/LogFile.cc | 1 -
 proxy/logging/LogFile.h  | 2 --
 2 files changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5f33c2db/proxy/logging/LogFile.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogFile.cc b/proxy/logging/LogFile.cc
index 5e44093..63730c4 100644
--- a/proxy/logging/LogFile.cc
+++ b/proxy/logging/LogFile.cc
@@ -69,7 +69,6 @@ LogFile::LogFile(const char *name, const char *header, LogFileFormat format, uin
   m_start_time = 0L;
   m_end_time = 0L;
   m_bytes_written = 0;
-  m_size_bytes = 0;
   m_ascii_buffer_size = (ascii_buffer_size < max_line_size ? max_line_size : ascii_buffer_size);
 
   Debug("log-file", "exiting LogFile constructor, m_name=%s, this=%p", m_name, this);

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5f33c2db/proxy/logging/LogFile.h
----------------------------------------------------------------------
diff --git a/proxy/logging/LogFile.h b/proxy/logging/LogFile.h
index 2e345a5..6b2441f 100644
--- a/proxy/logging/LogFile.h
+++ b/proxy/logging/LogFile.h
@@ -195,7 +195,6 @@ public:
 
   void check_fd();
   static int writeln(char *data, int len, int fd, const char *path);
-  void read_metadata();
 
 public:
   LogFileFormat m_file_format;
@@ -215,7 +214,6 @@ public:
   long m_start_time;
   long m_end_time;
   volatile uint64_t m_bytes_written;
-  off_t m_size_bytes; // current size of file in bytes
 
 public:
   Link<LogFile> link;