commit | b6c0b914438d89d689ea98b64f4243e8f0c6d3bc | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Tue Jul 09 12:21:44 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Tue Jul 09 12:21:44 2019 -0700 |
tree | 116a0fd0677d274be8bad6c259a92dc90caa8279 | |
parent | be66441fbd7767659e0c37e41543d886bb31b457 [diff] [blame] |
Turn on a bunch of warnings Turn on as many warnings as easily possible from: https://github.com/lefticus/cppbestpractices/blob/e73393f25a85f83fed7399d8b65cb117d00b2231/02-Use_the_Tools_Available.md#L100 Tested: ipmitool sensor list still works Change-Id: Ied8fa66de9fcd25e448f8048c4f8216b426b6f55 Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/ADCSensorMain.cpp b/src/ADCSensorMain.cpp index 7cb31d0..188aad9 100644 --- a/src/ADCSensorMain.cpp +++ b/src/ADCSensorMain.cpp
@@ -248,7 +248,7 @@ } } -int main(int argc, char** argv) +int main() { boost::asio::io_service io; auto systemBus = std::make_shared<sdbusplus::asio::connection>(io);