Skip to content
Snippets Groups Projects
Commit b5cc44ee authored by dt's avatar dt
Browse files

Remove dead code

Reviewd-By: danimo
parent 4ff28810
No related branches found
No related tags found
No related merge requests found
...@@ -92,8 +92,6 @@ QTCREATOR_UTILS_EXPORT QString commonPath(const QStringList &files) ...@@ -92,8 +92,6 @@ QTCREATOR_UTILS_EXPORT QString commonPath(const QStringList &files)
lastSeparatorPos = common.lastIndexOf(QLatin1Char('\\')); lastSeparatorPos = common.lastIndexOf(QLatin1Char('\\'));
if (lastSeparatorPos == -1) if (lastSeparatorPos == -1)
return QString(); return QString();
if (lastSeparatorPos == -1)
return QString();
#ifdef Q_OS_UNIX #ifdef Q_OS_UNIX
if (lastSeparatorPos == 0) // Unix: "/a", "/b" -> '/' if (lastSeparatorPos == 0) // Unix: "/a", "/b" -> '/'
lastSeparatorPos = 1; lastSeparatorPos = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment