summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/openbmc_dbus_rest.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp
index 8ab1b6a..3e6443d 100644
--- a/include/openbmc_dbus_rest.hpp
+++ b/include/openbmc_dbus_rest.hpp
@@ -100,13 +100,6 @@ void getManagedObjectsForEnumerate(
mapbox::util::apply_visitor(
[&propertyJson](auto &&val) { propertyJson = val; },
property.second);
-
- // dbus-rest represents booleans as 1 or 0, implement to match
- // TODO(ed) see if dbus-rest should be changed
- const bool *propertyBool = propertyJson.get_ptr<const bool *>();
- if (propertyBool != nullptr) {
- propertyJson = *propertyBool ? 1 : 0;
- }
}
}
}
OpenPOWER on IntegriCloud