summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-03 20:35:16 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-03 20:35:16 +0100
commit9c82fe382b49808131a087e69de709ba988f0e47 (patch)
tree65c0664ade397846f5e809cecf599443bdec007c
parent78541004048aa15880ca99b5e06b9d7529742c77 (diff)
mbimcli: flag print_version_and_exit() as noreturn
Same thing as done in libqmi, see https://gitlab.freedesktop.org/mobile-broadband/libqmi/merge_requests/82
-rw-r--r--src/mbimcli/mbimcli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbimcli/mbimcli.c b/src/mbimcli/mbimcli.c
index 72a9db5..383afa4 100644
--- a/src/mbimcli/mbimcli.c
+++ b/src/mbimcli/mbimcli.c
@@ -173,6 +173,7 @@ log_handler (const gchar *log_domain,
message);
}
+G_GNUC_NORETURN
static void
print_version_and_exit (void)
{