Cleaning
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 30 Mar 2017 15:23:17 +0000 (17:23 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 11 Apr 2017 10:41:42 +0000 (12:41 +0200)
Change-Id: I5ef9bad2ef398d3d293c3fc2edc18271042455f4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/diagnostic/active-diagnostic-request.cpp

index 8b6f054..7ddf1d5 100644 (file)
@@ -28,7 +28,7 @@ std::string active_diagnostic_request_t::prefix_ = "diagnostic_messages";
 
 bool active_diagnostic_request_t::operator==(const active_diagnostic_request_t& b)
 {
-       return (bus_ == b.bus_ && id_ == b.id_ && handle_ == b.handle_) ? true : false;
+       return (bus_ == b.bus_ && id_ == b.id_ && handle_ == b.handle_);
 }
 
 active_diagnostic_request_t& active_diagnostic_request_t::operator=(const active_diagnostic_request_t& adr)