Skip to content

Commit bfcbe6a

Browse files
Merge pull request #15 from NathanNeurotic/codex/fix-unused-function-warnings
Silence unused config helper warnings
2 parents 5b8fb97 + 20c4ae7 commit bfcbe6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ static void InitConfigPathState(void)
153153
#endif
154154
}
155155

156-
static void EnableConfigPath(CONFIG_SOURCES_ID source)
156+
static void __attribute__((unused)) EnableConfigPath(CONFIG_SOURCES_ID source)
157157
{
158158
if (source < SOURCE_COUNT)
159159
config_path_enabled[source] = 1;
@@ -893,7 +893,7 @@ void runKELF(const char *kelfpath)
893893
LoadExecPS2("moduleload", 4, args);
894894
}
895895

896-
static int LocateExternalIRXPath(const char *filename, char *resolved_path, size_t resolved_size)
896+
static int __attribute__((unused)) LocateExternalIRXPath(const char *filename, char *resolved_path, size_t resolved_size)
897897
{
898898
size_t i;
899899
static const char *const search_templates[] = {

0 commit comments

Comments
 (0)