add flag for unused function arguments in common folder CMakeLists

(not enforced because of fmtlog external dependency)
This commit is contained in:
francescomani
2026-03-27 18:06:33 +01:00
parent 2483b68ee4
commit 683d855d97
51 changed files with 203 additions and 162 deletions
+2 -6
View File
@@ -284,12 +284,8 @@ void threadCreate(pthread_t* t, void * (*func)(void*), void * param, char* name,
// Legacy, pthread_create + thread_top_init() should be replaced by threadCreate
// threadCreate encapsulates the posix pthread api
void thread_top_init(char *thread_name,
int affinity,
uint64_t runtime,
uint64_t deadline,
uint64_t period) {
void thread_top_init(char *thread_name)
{
int policy, s, j;
struct sched_param sparam;
char cpu_affinity[1024];