diff --git a/login.c b/login.c index bcd5ac2..55ae345 100644 --- a/login.c +++ b/login.c @@ -35,6 +35,8 @@ static bool switch_user_context(struct passwd* pw, const char* username) exit(1); } } + #else + (void)username; #endif /* this works for linux and midipix */