summaryrefslogtreecommitdiff
path: root/src/qmi-firmware-update
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-03-16 11:29:56 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-03-16 11:32:30 +0000
commit4718ad69b0cb30ecdef2bad9d431722976dd88e1 (patch)
treed94b53b4ea1b6ccb407432cfe01cf5b8bddd789f /src/qmi-firmware-update
parentf0b758a56875867497908b497c92aca9674ed15d (diff)
downloadlibqmi-4718ad69b0cb30ecdef2bad9d431722976dd88e1.tar.gz
qmicli,qmi-proxy,qmi-firmware-update: add missing GOptionEntry initializers
Just to make the compiler happy: ../libqmi-9999/src/qmicli/qmicli-voice.c:71:12: warning: missing field 'short_name' initializer [-Wmissing-field-initializers] { NULL } ^
Diffstat (limited to 'src/qmi-firmware-update')
-rw-r--r--src/qmi-firmware-update/qfu-main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qmi-firmware-update/qfu-main.c b/src/qmi-firmware-update/qfu-main.c
index 4735ce89..7abda34f 100644
--- a/src/qmi-firmware-update/qfu-main.c
+++ b/src/qmi-firmware-update/qfu-main.c
@@ -197,7 +197,7 @@ static GOptionEntry context_selection_entries[] = {
"Select device by serial device path (e.g. /dev/ttyUSB2).",
"[PATH]"
},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static GOptionEntry context_update_entries[] = {
@@ -233,7 +233,7 @@ static GOptionEntry context_update_entries[] = {
"Don't wait to validate the running firmware after update.",
NULL
},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static GOptionEntry context_reset_entries[] = {
@@ -241,7 +241,7 @@ static GOptionEntry context_reset_entries[] = {
"Reset device into download mode.",
NULL
},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static GOptionEntry context_update_download_entries[] = {
@@ -249,7 +249,7 @@ static GOptionEntry context_update_download_entries[] = {
"Launch firmware update process while in download (boot & hold) mode.",
NULL
},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static GOptionEntry context_verify_entries[] = {
@@ -257,7 +257,7 @@ static GOptionEntry context_verify_entries[] = {
"Analyze and verify firmware images.",
NULL
},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static GOptionEntry context_main_entries[] = {
@@ -310,7 +310,7 @@ static GOptionEntry context_main_entries[] = {
"Show help examples.",
NULL
},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static const gchar *context_description =