Remove AddZones function and remove other commented out code

This commit is contained in:
Isaac Connor 2021-04-19 09:52:18 -04:00
parent a38463f99e
commit a9afdbddf1
2 changed files with 0 additions and 14 deletions

View File

@ -1121,9 +1121,6 @@ Monitor::~Monitor() {
analysis_it = nullptr;
decoder_it = nullptr;
// FIXME do we even need to do this?
//zones.clear();
delete storage;
if (n_linked_monitors) {
for ( int i=0; i < n_linked_monitors; i++ ) {
@ -1142,16 +1139,6 @@ Monitor::~Monitor() {
}
} // end Monitor::~Monitor()
void Monitor::AddZones(int p_n_zones, Zone *p_zones[]) {
#if 0
for ( int i=0; i < n_zones; i++ )
delete zones[i];
delete[] zones;
n_zones = p_n_zones;
zones = p_zones;
#endif
}
void Monitor::AddPrivacyBitmask() {
if (privacy_bitmask) {
delete[] privacy_bitmask;

View File

@ -410,7 +410,6 @@ public:
~Monitor();
void AddZones( int p_n_zones, Zone *p_zones[] );
void AddPrivacyBitmask();
void LoadCamera();