mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 09:20:32 +01:00
core: fix warning calling non-returning g_error()
g_error() does not return, but clang seems not to understand that
and gives the following warning.
make[4]: Entering directory `./NetworkManager/src'
CC NetworkManagerUtils.lo
NetworkManagerUtils.c:1584:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
45c5365d85
commit
43df0e9ae4
1 changed files with 1 additions and 0 deletions
|
|
@ -1581,6 +1581,7 @@ fail:
|
|||
else
|
||||
nm_log_err (LOGD_CORE, "Failed asserting path component: \"%s\"", name);
|
||||
g_error ("FATAL: Failed asserting path component: %s", name ? name : "(null)");
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue