cleanup: remove unused function intdup()

That was used by the old xml-params code, which was recently
replaced.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-10-17 20:17:14 +02:00 committed by Dirk Hohndel
parent d508a16aca
commit ad59f100ae
2 changed files with 0 additions and 10 deletions

View file

@ -1617,15 +1617,6 @@ void parse_seabear_header(const char *filename, struct xml_params *params)
f.close();
}
char *intdup(int index)
{
char tmpbuf[21];
snprintf(tmpbuf, sizeof(tmpbuf) - 2, "%d", index);
tmpbuf[20] = 0;
return strdup(tmpbuf);
}
extern "C" void print_qt_versions()
{
printf("%s\n", qPrintable(QStringLiteral("built with Qt Version %1, runtime from Qt Version %2").arg(QT_VERSION_STR).arg(qVersion())));