mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix compiler warning about uninitialized struct fields
This commit is contained in:
parent
00176d5e4b
commit
c7a2709d18
1 changed files with 2 additions and 3 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue