diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-12-02 18:28:30 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-12-08 14:00:28 +0100 |
commit | 372af4308999ea004b56493a9a7b0a0018f74629 (patch) | |
tree | e5498b2d6f94278069f38662e5d0f76525f267bc /attrib | |
parent | 552d63be309a49fd358f451a4cb68a51184bdbed (diff) | |
download | bluez-372af4308999ea004b56493a9a7b0a0018f74629.tar.gz |
attrib: List all enum values in switch
As described in coding style M10
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/gatt-service.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/attrib/gatt-service.c b/attrib/gatt-service.c index 874552bc5..f592a70a2 100644 --- a/attrib/gatt-service.c +++ b/attrib/gatt-service.c @@ -118,6 +118,10 @@ static GSList *parse_opts(gatt_option opt1, va_list args) case GATT_OPT_CHR_AUTHORIZATION: info->authorization = va_arg(args, gatt_option); break; + case GATT_CHR_VALUE_READ: + case GATT_CHR_VALUE_WRITE: + case GATT_CHR_VALUE_BOTH: + case GATT_OPT_INVALID: default: error("Invalid option: %d", opt); } |