From 934aa942359fc222981feacca053b312f239664d Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 24 Apr 2017 19:16:50 +0200 Subject: Fix compilation warning complaining about unset boolean value. Change-Id: I17e2177f40b8845f78370048ef3c734486b152b3 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/low-can-binding.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CAN-binder/low-can-binding/low-can-binding.cpp') 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 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) { -- cgit 1.2.3-korg