diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-10 20:48:37 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-10 20:48:37 +0100 |
commit | e5a47f6a20fd00cb1b242a3e34b9cac2d4ac4725 (patch) | |
tree | 72647941454dc6041f193cd5a13a4e77ab604fbe | |
parent | c0907768f00ad9b3929d3063280ddfc9c983b287 (diff) | |
download | external_libqmi-e5a47f6a20fd00cb1b242a3e34b9cac2d4ac4725.zip external_libqmi-e5a47f6a20fd00cb1b242a3e34b9cac2d4ac4725.tar.gz external_libqmi-e5a47f6a20fd00cb1b242a3e34b9cac2d4ac4725.tar.bz2 |
libqmi-glib,device: only define next_step if MBIM_QMUX enabled
src/libqmi-glib/qmi-device.c: In function 'device_open_context_step':
src/libqmi-glib/qmi-device.c:2204:5: error: label 'next_step' defined but not used [-Werror=unused-label]
next_step:
^
cc1: all warnings being treated as errors
Makefile:614: recipe for target 'libqmi_glib_la-qmi-device.lo' failed
-rw-r--r-- | src/libqmi-glib/qmi-device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libqmi-glib/qmi-device.c b/src/libqmi-glib/qmi-device.c index d77deb2..ff6a1d7 100644 --- a/src/libqmi-glib/qmi-device.c +++ b/src/libqmi-glib/qmi-device.c @@ -2201,7 +2201,9 @@ device_open_context_step (DeviceOpenContext *ctx) g_warning ("[%s] requested QMI mode but unexpected driver found: %s", ctx->self->priv->path_display, ctx->driver ? ctx->driver : "unknown"); +#if defined MBIM_QMUX_ENABLED next_step: +#endif ctx->step++; /* Fall down */ |