diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-24 19:16:50 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-24 19:16:50 +0200 |
commit | 934aa942359fc222981feacca053b312f239664d (patch) | |
tree | 96ba20ab718d2a7b31ccb904e8610169fc0ded61 /CAN-binder/low-can-binding | |
parent | 0b4dccf94a2a6b1ff4f5dc233b0ce0977927096d (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/low-can-binding')
-rw-r--r-- | CAN-binder/low-can-binding/low-can-binding.cpp | 3 |
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 365080b..4420b0d 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) { |