mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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 <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
f63f7b90eb
commit
5474e1ccd7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user