commit | 0c9a33d66f74a76c1842990f41da678f79fa0c05 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:05:09 2021 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:08:06 2021 +0000 |
tree | 4af4feecb0d975fb6722019522db4122a0078cbc | |
parent | 1fd0b145874a089e2ccd11f3960342059eeb7012 [diff] [blame] |
clang updates The openbmc CI was recently updated to clang-12 which requires some formatting updates to the code: https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be0482426908bb5497fad08 Make those updates and refresh the clang-format file with the one from docs: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Change-Id: Ieb3626526373a053ec84431e7560003f229f338d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/phosphor-power-supply/psu_manager.cpp b/phosphor-power-supply/psu_manager.cpp index 93d1415..603c0ef 100644 --- a/phosphor-power-supply/psu_manager.cpp +++ b/phosphor-power-supply/psu_manager.cpp
@@ -126,8 +126,7 @@ } } catch (std::exception& e) - { - } + {} } if ((i2cbus) && (i2caddr) && (psuname) && (!psuname->empty())) @@ -223,8 +222,7 @@ supportedConfigs.emplace(*model, sys); } catch (std::exception& e) - { - } + {} } void PSUManager::getSystemProperties()