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:
Beniamino Galvani 2016-02-11 17:14:35 +01:00
parent e5dd4c6882
commit 9e5c99465d

View file

@ -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;