trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jplev...@apache.org
Subject svn commit: r896263 - /incubator/trafficserver/traffic/branches/dev/proxy/stats/Stats.cc
Date Tue, 05 Jan 2010 23:05:41 GMT
Author: jplevyak
Date: Tue Jan  5 23:05:35 2010
New Revision: 896263

URL: http://svn.apache.org/viewvc?rev=896263&view=rev
Log:
Indentation fixes: removed newline after type but before variable name.

Modified:
    incubator/trafficserver/traffic/branches/dev/proxy/stats/Stats.cc

Modified: incubator/trafficserver/traffic/branches/dev/proxy/stats/Stats.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/branches/dev/proxy/stats/Stats.cc?rev=896263&r1=896262&r2=896263&view=diff
==============================================================================
--- incubator/trafficserver/traffic/branches/dev/proxy/stats/Stats.cc (original)
+++ incubator/trafficserver/traffic/branches/dev/proxy/stats/Stats.cc Tue Jan  5 23:05:35
2010
@@ -27,18 +27,12 @@
 #include "Stats.h"
 #include "P_EventSystem.h"
 
-StatDescriptor
-  StatDescriptor::all_stats[StatDescriptor::MAX_NUM_STATS];
-RecRawStatBlock *
-  StatDescriptor::g_stat_block;
-StatDescriptor
-  G_NULL_STAT;
-volatile int
-  StatDescriptor::top_stat = 0;
-ink_mutex
-  g_flt_mux;
-ink_mutex
-  g_cpl_mux;
+StatDescriptor StatDescriptor::all_stats[StatDescriptor::MAX_NUM_STATS];
+RecRawStatBlock *StatDescriptor::g_stat_block;
+StatDescriptor G_NULL_STAT;
+volatile int StatDescriptor::top_stat = 0;
+ink_mutex g_flt_mux;
+ink_mutex g_cpl_mux;
 
 // Main.cc call-in point
 void
@@ -58,17 +52,14 @@
 
 RecData StatDescriptor::update_value()
 {
-  RecData
-    retv;
+  RecData retv;
 
-  if (m_magic == NULL_VALUE || m_magic == SHALLOW_COPY || m_magic == IN_ERROR) {
+  if (m_magic == NULL_VALUE || m_magic == SHALLOW_COPY || m_magic == IN_ERROR)
     return m_value;;
-  }
 
   ink_release_assert(m_id >= 0 && m_id < MAX_NUM_STATS);
 
-  int
-    rc = REC_ERR_OKAY;
+  int rc = REC_ERR_OKAY;
 
   switch (m_type) {
   case RECD_INT:



Mime
View raw message