Skip to content

Commit 0244e5e

Browse files
removed unused code
1 parent ea6805d commit 0244e5e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/logo/builtin.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ typedef struct FFlogo
1010
const char* data;
1111
const char** names; //Null terminated
1212
const char** builtinColors; //Null terminated
13-
bool performColorReplacement;
1413
} FFlogo;
1514

1615
#define FF_LOGO_INIT static FFlogo logo; static bool init = false; if(init) return &logo; init = true;

src/modules/packages.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,16 +233,15 @@ static void getPackageCounts(const FFinstance* instance, FFstrbuf* baseDir, Pack
233233

234234
static void getPackageCountsBedrock(const FFinstance* instance, FFstrbuf* baseDir, PackageCounts* packageCounts)
235235
{
236-
uint32_t baseDirLength = baseDir->length;
237-
238236
ffStrbufAppendS(baseDir, "/bedrock/strata");
239237

240238
DIR* dir = opendir(baseDir->chars);
241239
if(dir == NULL)
242240
return;
243241

244242
ffStrbufAppendC(baseDir, '/');
245-
baseDirLength = baseDir->length;
243+
244+
uint32_t baseDirLength = baseDir->length;
246245

247246
struct dirent* entry;
248247
while((entry = readdir(dir)) != NULL)

0 commit comments

Comments
 (0)