From: Ross Lagerwall Date: Sun, 27 Jul 2014 17:06:12 +0000 (+0100) Subject: libnfs.c: Fix a warning X-Git-Tag: upstream/1.9.6^2~15^2~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c4d5f5b874a10dfa71915a1e2c64cbe708db92ec;p=deb_libnfs.git libnfs.c: Fix a warning Signed-off-by: Ross Lagerwall --- 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);