mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
d508a16aca
commit
ad59f100ae
2 changed files with 0 additions and 10 deletions
|
@ -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())));
|
||||
|
|
|
@ -45,7 +45,6 @@ extern const QStringList videoExtensionsList;
|
|||
QStringList mediaExtensionFilters();
|
||||
QStringList imageExtensionFilters();
|
||||
QStringList videoExtensionFilters();
|
||||
char *intdup(int index);
|
||||
char *copy_qstring(const QString &);
|
||||
QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);
|
||||
QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true);
|
||||
|
|
Loading…
Reference in a new issue