From 5474e1ccd77a3a40db3601f94556001610c82b95 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Mon, 25 Feb 2013 10:26:33 +0000 Subject: [PATCH] volser: Don't catch errors in cleanup We can't do anything if cleaning up the clone volume fails, so don't bother storing the error code. Caught by clang-analyzer Change-Id: I5249dbad9a1bb732aba73e7a09f74c83e606b45d Reviewed-on: http://gerrit.openafs.org/9258 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman --- src/volser/vsprocs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index a5147b0327..7af0d9ffdd 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -2578,8 +2578,8 @@ cpincr: /* common cleanup - delete local clone */ if (cloneVol) - code = DoVolDelete(fromconn, cloneVol, afrompart, - "clone", 0, NULL, "Recovery:"); + DoVolDelete(fromconn, cloneVol, afrompart, + "clone", 0, NULL, "Recovery:"); done: /* routine cleanup */ if (fromconn)