From c4d5f5b874a10dfa71915a1e2c64cbe708db92ec Mon Sep 17 00:00:00 2001 From: Ross Lagerwall Date: Sun, 27 Jul 2014 18:06:12 +0100 Subject: [PATCH] libnfs.c: Fix a warning Signed-off-by: Ross Lagerwall --- lib/libnfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libnfs.c b/lib/libnfs.c index c25ae2d..3115a68 100644 --- a/lib/libnfs.c +++ b/lib/libnfs.c @@ -2727,7 +2727,7 @@ static void nfs_create_2_cb(struct rpc_context *rpc, int status, void *command_d data->cb(-ENOMEM, nfs, rpc_get_error(nfs->rpc), data->private_data); free_nfs_cb_data(data); free(nfsfh); - return -1; + return; } memcpy(nfsfh->fh.data.data_val, res->LOOKUP3res_u.resok.object.data.data_val, nfsfh->fh.data.data_len); -- 2.34.1