summaryrefslogtreecommitdiff
path: root/profiles/health
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-12-02 18:28:27 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-12-08 14:00:28 +0100
commitf1d0c834ee897b6ea33ca5a90c9fea1ce4c78c05 (patch)
tree58a7f5be3380cb7d00b08a515fcbce9749ecebc2 /profiles/health
parent3777f3635fec671fe1036aa14ca247b9611922cc (diff)
downloadbluez-f1d0c834ee897b6ea33ca5a90c9fea1ce4c78c05.tar.gz
profiles: List all enum values in switch
As described in coding style M10.
Diffstat (limited to 'profiles/health')
-rw-r--r--profiles/health/mcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/profiles/health/mcap.c b/profiles/health/mcap.c
index a20a7ad78..cc47a1e6d 100644
--- a/profiles/health/mcap.c
+++ b/profiles/health/mcap.c
@@ -952,6 +952,7 @@ static gboolean parse_set_opts(struct mcap_mdl_cb *mdl_cb, GError **err,
c->mdl_reconn_req = va_arg(args,
mcap_remote_mdl_reconn_req_cb);
break;
+ case MCAP_MDL_CB_INVALID:
default:
g_set_error(err, MCAP_ERROR, MCAP_ERROR_INVALID_ARGS,
"Unknown option %d", cb);