🐞 fix(warning as error): fix unused parameter warning

This commit is contained in:
yangwei
2024-08-07 13:34:56 +08:00
committed by luwenpeng
parent f1b3928c70
commit 6bb5c44ee3
12 changed files with 36 additions and 14 deletions

View File

@@ -433,7 +433,7 @@ static void stellar_thread_join(struct stellar_runtime *runtime, struct stellar_
}
}
int stellar_run(int argc, char **argv)
int stellar_run(int argc __attribute__((unused)), char **argv __attribute__((unused)))
{
static struct stellar st={};
struct stellar_runtime *runtime = &st.runtime;