Commit 6f89a126 by Marcus Winter

mtapi_c: removed clang warning

parent 63da4fe7
...@@ -428,7 +428,7 @@ mtapi_boolean_t embb_mtapi_scheduler_initialize_with_mode( ...@@ -428,7 +428,7 @@ mtapi_boolean_t embb_mtapi_scheduler_initialize_with_mode(
embb_atomic_store_int(&that->affine_task_counter, 0); embb_atomic_store_int(&that->affine_task_counter, 0);
/* Paranoia sanitizing of scheduler mode */ /* Paranoia sanitizing of scheduler mode */
if (mode < 0 || mode >= NUM_SCHEDULER_MODES) { if (mode >= NUM_SCHEDULER_MODES) {
mode = WORK_STEAL_VHPF; mode = WORK_STEAL_VHPF;
} }
that->mode = mode; that->mode = mode;
......
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 sign in to comment