diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2016-02-11 17:14:35 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-02-11 17:14:35 +0100 |
commit | 9e5c99465dec212ad108879572e6509df11ac08e (patch) | |
tree | 11271381272fdc5ead5be7fe38fc2a8b282b6c4c | |
parent | e5dd4c6882c019c113b9a9dbaa1fbbf1c9478d05 (diff) | |
download | NetworkManager-9e5c99465dec212ad108879572e6509df11ac08e.tar.gz |
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: e8927c14ec3e830099e1525fa8fee4c9a7fc5032
-rw-r--r-- | clients/cli/connections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 44f7d8b12d..d83502d959 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -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; |