From 9d86dbee0a3fa2b6a6ed0108a288208a7a496665 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 28 Sep 2012 13:23:46 +0300 Subject: [PATCH] heartrate: Fix minor coding style issues --- profiles/heartrate/heartrate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/heartrate/heartrate.c b/profiles/heartrate/heartrate.c index 8b3ecab5c..4b95c5d4d 100644 --- a/profiles/heartrate/heartrate.c +++ b/profiles/heartrate/heartrate.c @@ -110,6 +110,7 @@ static const gchar *location2str(uint8_t value) return location_enum[value]; error("Body Sensor Location [%d] is RFU", value); + return NULL; } @@ -714,8 +715,7 @@ static const GDBusMethodTable heartrate_device_methods[] = { { GDBUS_METHOD("GetProperties", NULL, GDBUS_ARGS({ "properties", "a{sv}" }), get_properties) }, - { GDBUS_METHOD("Reset", NULL, NULL, - hrcp_reset) }, + { GDBUS_METHOD("Reset", NULL, NULL, hrcp_reset) }, { } }; -- 2.47.3