dead code
This commit is contained in:
parent
8aaecb568e
commit
fe25b24050
|
@ -134,14 +134,6 @@ void Logging::appendFloat(float value, int precision) {
|
|||
}
|
||||
}
|
||||
|
||||
void appendMsgPrefix(Logging *logging) {
|
||||
logging->append(PROTOCOL_MSG DELIMETER);
|
||||
}
|
||||
|
||||
void appendMsgPostfix(Logging *logging) {
|
||||
logging->append(DELIMETER);
|
||||
}
|
||||
|
||||
void Logging::reset() {
|
||||
linePointer = buffer;
|
||||
*linePointer = 0;
|
||||
|
|
|
@ -73,6 +73,3 @@ public:
|
|||
};
|
||||
|
||||
void initLoggingExt(Logging *logging, const char *name, char *buffer, int bufferSize);
|
||||
|
||||
void appendMsgPrefix(Logging *logging);
|
||||
void appendMsgPostfix(Logging *logging);
|
||||
|
|
|
@ -317,12 +317,12 @@ void printHistogram(Logging *logging, histogram_s *histogram) {
|
|||
int len = hsReport(histogram, report);
|
||||
|
||||
logging->reset();
|
||||
appendMsgPrefix(logging);
|
||||
logging.append(PROTOCOL_MSG DELIMETER);
|
||||
logging.appendPrintf("histogram %s *", histogram->name);
|
||||
for (int i = 0; i < len; i++)
|
||||
logging.appendPrintf("%d ", report[i]);
|
||||
logging.appendPrintf("*");
|
||||
appendMsgPostfix(logging);
|
||||
logging.append(DELIMETER);
|
||||
scheduleLogging(logging);
|
||||
#else
|
||||
UNUSED(logging);
|
||||
|
|
Loading…
Reference in New Issue