find dump is no longer used

This commit is contained in:
Axel Kohlmeyer
2022-08-11 01:52:42 -04:00
parent 76123d3347
commit e8e6beed50
2 changed files with 0 additions and 16 deletions

View File

@ -835,21 +835,6 @@ void Output::delete_dump(const std::string &id)
ndump--;
}
/* ----------------------------------------------------------------------
find a dump by ID
return index of dump or -1 if not found
------------------------------------------------------------------------- */
int Output::find_dump(const char *id)
{
if (id == nullptr) return -1;
int idump;
for (idump = 0; idump < ndump; idump++)
if (strcmp(id,dump[idump]->id) == 0) break;
if (idump == ndump) return -1;
return idump;
}
/* ----------------------------------------------------------------------
find a dump by ID
return pointer to dump

View File

@ -83,7 +83,6 @@ class Output : protected Pointers {
Dump *add_dump(int, char **); // add a Dump to Dump list
void modify_dump(int, char **); // modify a Dump
void delete_dump(const std::string &); // delete a Dump from Dump list
int find_dump(const char *); // find a Dump ID
Dump *get_dump_by_id(const std::string &); // find a Dump by ID
int check_time_dumps(bigint); // check if any time dump is output now