diff --git a/Header.c b/Header.c index e1049752..24c40771 100644 --- a/Header.c +++ b/Header.c @@ -131,21 +131,6 @@ int Header_size(Header* this, int column) { return Vector_size(meters); } -char* Header_readMeterName(Header* this, int i, int column) { - Vector* meters = this->columns[column]; - Meter* meter = (Meter*) Vector_get(meters, i); - - int nameLen = strlen(Meter_name(meter)); - int len = nameLen + 100; - char* name = xMalloc(len); - memcpy(name, Meter_name(meter), nameLen); - name[nameLen] = '\0'; - if (meter->param) - xSnprintf(name + nameLen, len - nameLen, "(%d)", meter->param); - - return name; -} - MeterModeId Header_readMeterMode(Header* this, int i, int column) { Vector* meters = this->columns[column]; diff --git a/Header.h b/Header.h index 3494cdd0..870fbd85 100644 --- a/Header.h +++ b/Header.h @@ -39,8 +39,6 @@ Meter* Header_addMeterByClass(Header* this, const MeterClass* type, int param, i int Header_size(Header* this, int column); -char* Header_readMeterName(Header* this, int i, int column); - MeterModeId Header_readMeterMode(Header* this, int i, int column); void Header_reinit(Header* this);