mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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();
|
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()
|
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())));
|
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 mediaExtensionFilters();
|
||||||
QStringList imageExtensionFilters();
|
QStringList imageExtensionFilters();
|
||||||
QStringList videoExtensionFilters();
|
QStringList videoExtensionFilters();
|
||||||
char *intdup(int index);
|
|
||||||
char *copy_qstring(const QString &);
|
char *copy_qstring(const QString &);
|
||||||
QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);
|
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);
|
QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue