aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-04-24 19:16:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-04-24 19:16:50 +0200
commit934aa942359fc222981feacca053b312f239664d (patch)
tree96ba20ab718d2a7b31ccb904e8610169fc0ded61 /CAN-binder
parent0b4dccf94a2a6b1ff4f5dc233b0ce0977927096d (diff)
Fix compilation warning complaining about unset boolean value.
Change-Id: I17e2177f40b8845f78370048ef3c734486b152b3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder')
-rw-r--r--CAN-binder/low-can-binding/low-can-binding.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/low-can-binding.cpp b/CAN-binder/low-can-binding/low-can-binding.cpp
index 365080bc..4420b0d4 100644
--- a/CAN-binder/low-can-binding/low-can-binding.cpp
+++ b/CAN-binder/low-can-binding/low-can-binding.cpp
@@ -216,8 +216,9 @@ extern "C"
std::vector<std::string> signals;
struct utils::signals_found sf;
int ok = 0, total = 0;
+ bool subscribe = true;
- signals = parse_signals_from_request(request, true);
+ signals = parse_signals_from_request(request, subscribe);
for(const auto& sig: signals)
{