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) ...@@ -125,9 +125,8 @@ void setThreadAffinity(pthread_t thread, int affinity)
void setPriority(int priority) void setPriority(int priority)
{ {
int ret; int ret;
struct sched_param param = { struct sched_param param;
.sched_priority = priority param.sched_priority = priority;
};
Logger logger = logging.get("kernel:rt"); 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