diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-01 09:36:53 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-01 09:36:53 +0200 |
commit | e25a585c9fd8c3f58ec01723843fe3c08c30c1ad (patch) | |
tree | b1c4c09060b5ec7be67bf621e8a2e26b9cf0c8cb /src/main.c | |
parent | 52bf2c641171ded9e617022f40497c8984520371 (diff) |
broadband-modem-mbim: skip switch() when selecting MBIM services
Having a switch() for the MBIM services when processing indications
forces us to update it on every new MBIM service added to libmbim,
because we build with -Wswitch-enum by default.
This warning type is extremely useful, and we should not stop using
it, so let's simplify a bit the indication handling code and skip
using a switch().
There are right now only 4 different service indications expected, so
it shouldn't be a big deal.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions