Commit b9264671 by Marcus Winter

dataflow_cpp: fixed cpplint warnings

parent 78f67200
...@@ -56,17 +56,14 @@ embb::base::Atomic<int> source_counter; ...@@ -56,17 +56,14 @@ embb::base::Atomic<int> source_counter;
int source_array[TEST_COUNT]; int source_array[TEST_COUNT];
bool sourceFunc(int & out) { bool sourceFunc(int & out) {
if (source_counter < TEST_COUNT) if (source_counter < TEST_COUNT) {
{
out = source_counter; out = source_counter;
source_array[source_counter] = out; source_array[source_counter] = out;
source_counter++; source_counter++;
return true; return true;
} } else {
else
{
return false; return false;
} }
} }
......
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