Commit 784baa28 by Marcus Winter

fixed cpplint warnings

parent deaee276
...@@ -159,7 +159,8 @@ int embb_thread_create_with_priority( ...@@ -159,7 +159,8 @@ int embb_thread_create_with_priority(
internal_priority = THREAD_PRIORITY_NORMAL; internal_priority = THREAD_PRIORITY_NORMAL;
break; break;
} }
BOOL result = SetThreadPriority(thread->embb_internal_handle, internal_priority); BOOL result = SetThreadPriority(
thread->embb_internal_handle, internal_priority);
if (result == 0) { if (result == 0) {
return EMBB_ERROR; return EMBB_ERROR;
} }
......
...@@ -152,7 +152,8 @@ void mtapi_nodeattr_set( ...@@ -152,7 +152,8 @@ void mtapi_nodeattr_set(
case MTAPI_NODE_WORKER_PRIORITIES: case MTAPI_NODE_WORKER_PRIORITIES:
local_status = MTAPI_SUCCESS; local_status = MTAPI_SUCCESS;
attributes->worker_priorities = (mtapi_worker_priority_entry_t*)attribute; attributes->worker_priorities =
(mtapi_worker_priority_entry_t*)attribute;
break; break;
default: default:
......
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