mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 15:20:28 +01:00
cli: fix compile error
connections.c: In function ‘sort_connections’:
connections.c:1536:3: error: ‘return’ with no value, in function returning non-void [-Werror=return-type]
return;
^
Fixes: e8927c14ec
This commit is contained in:
parent
e5dd4c6882
commit
9e5c99465d
1 changed files with 1 additions and 1 deletions
|
|
@ -1533,7 +1533,7 @@ sort_connections (const GPtrArray *cons, NmCli *nmc, const GArray *order)
|
|||
NmcSortInfo compare_info;
|
||||
|
||||
if (!cons)
|
||||
return;
|
||||
return NULL;
|
||||
|
||||
compare_info.nmc = nmc;
|
||||
compare_info.order = order;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue