Merge pull request #3445 from nextcloud/bugfix/remove-unused-function

Remove unused function declaration
This commit is contained in:
Felix Weilbach 2021-06-17 14:16:21 +02:00 committed by GitHub
commit dfab4bb447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -982,7 +982,7 @@ void FakeFolder::fromDisk(QDir &dir, FileInfo &templateFi)
}
}
FileInfo &findOrCreateDirs(FileInfo &base, PathComponents components)
static FileInfo &findOrCreateDirs(FileInfo &base, PathComponents components)
{
if (components.isEmpty())
return base;

View File

@ -486,9 +486,6 @@ private:
static void fromDisk(QDir &dir, FileInfo &templateFi);
};
static FileInfo &findOrCreateDirs(FileInfo &base, PathComponents components);
/* Return the FileInfo for a conflict file for the specified relative filename */
inline const FileInfo *findConflict(FileInfo &dir, const QString &filename)
{