As described in coding style M10. --- lib/uuid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/uuid.c b/lib/uuid.c index 5c3f986..186a7e6 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -84,6 +84,7 @@ void bt_uuid_to_uuid128(const bt_uuid_t *src, bt_uuid_t *dst) case BT_UUID16: bt_uuid16_to_uuid128(src, dst); break; + case BT_UUID_UNSPEC: default: break; } @@ -171,6 +172,7 @@ int bt_uuid_to_string(const bt_uuid_t *uuid, char *str, size_t n) ntohl(data4), ntohs(data5)); } break; + case BT_UUID_UNSPEC: default: snprintf(str, n, "Type of UUID (%x) unknown.", uuid->type); return -EINVAL; /* Enum type of UUID not set */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html