removed unused code

This commit is contained in:
Linus Dierheimer
2022-06-02 23:24:50 +02:00
parent ea6805de82
commit 0244e5ebd7
2 changed files with 2 additions and 4 deletions
+2 -3
View File
@@ -233,8 +233,6 @@ static void getPackageCounts(const FFinstance* instance, FFstrbuf* baseDir, Pack
static void getPackageCountsBedrock(const FFinstance* instance, FFstrbuf* baseDir, PackageCounts* packageCounts)
{
uint32_t baseDirLength = baseDir->length;
ffStrbufAppendS(baseDir, "/bedrock/strata");
DIR* dir = opendir(baseDir->chars);
@@ -242,7 +240,8 @@ static void getPackageCountsBedrock(const FFinstance* instance, FFstrbuf* baseDi
return;
ffStrbufAppendC(baseDir, '/');
baseDirLength = baseDir->length;
uint32_t baseDirLength = baseDir->length;
struct dirent* entry;
while((entry = readdir(dir)) != NULL)