Commit 013af9cb authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix compiler warning about uninitialized struct fields

parent ec384970
......@@ -125,9 +125,8 @@ void setThreadAffinity(pthread_t thread, int affinity)
void setPriority(int priority)
{
int ret;
struct sched_param param = {
.sched_priority = priority
};
struct sched_param param;
param.sched_priority = priority;
Logger logger = logging.get("kernel:rt");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment