From b9264671165e96ab839871e7a2ed7718d24eee67 Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Mon, 22 Feb 2016 14:00:18 +0100 Subject: [PATCH] dataflow_cpp: fixed cpplint warnings --- dataflow_cpp/test/dataflow_cpp_test_simple.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dataflow_cpp/test/dataflow_cpp_test_simple.cc b/dataflow_cpp/test/dataflow_cpp_test_simple.cc index 6b355bb..cf50d3a 100644 --- a/dataflow_cpp/test/dataflow_cpp_test_simple.cc +++ b/dataflow_cpp/test/dataflow_cpp_test_simple.cc @@ -56,17 +56,14 @@ embb::base::Atomic source_counter; int source_array[TEST_COUNT]; bool sourceFunc(int & out) { - if (source_counter < TEST_COUNT) - { + if (source_counter < TEST_COUNT) { out = source_counter; source_array[source_counter] = out; source_counter++; return true; - } - else - { + } else { return false; } } -- libgit2 0.26.0