Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLAScommon
Commits
013af9cb
Commit
013af9cb
authored
Nov 11, 2020
by
Steffen Vogel
🎅🏼
Browse files
fix compiler warning about uninitialized struct fields
parent
ec384970
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/kernel/rt.cpp
View file @
013af9cb
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment