From d02757985de45b66e2d291d07918dffae15319a2 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Tue, 19 Feb 2013 16:56:38 +0000 Subject: [PATCH] xstat: Ignore return value from xstat_*_Cleanup We're about to exit anyway, so we don't care whether Cleanup succeeds or not Caught by clang-analyzer Change-Id: I6350d60e6a5d29b8aaa272a54cf9ead47fdb5fad Reviewed-on: http://gerrit.openafs.org/9186 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman --- src/xstat/xstat_cm_test.c | 2 +- src/xstat/xstat_fs_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xstat/xstat_cm_test.c b/src/xstat/xstat_cm_test.c index bb1d5ad70e..011643551e 100644 --- a/src/xstat/xstat_cm_test.c +++ b/src/xstat/xstat_cm_test.c @@ -922,7 +922,7 @@ RunTheTest(struct cmd_syndesc *a_s, void *arock) */ if (debugging_on) printf("\nYawn, main thread just woke up. Cleaning things out...\n"); - code = xstat_cm_Cleanup(1); /*Get rid of malloc'ed data */ + xstat_cm_Cleanup(1); /*Get rid of malloc'ed data */ rx_Finalize(); return (0); diff --git a/src/xstat/xstat_fs_test.c b/src/xstat/xstat_fs_test.c index d1e1fa3d0a..ef2269c6d1 100644 --- a/src/xstat/xstat_fs_test.c +++ b/src/xstat/xstat_fs_test.c @@ -821,7 +821,7 @@ RunTheTest(struct cmd_syndesc *a_s, void *dummy) if (debugging_on) printf("\nYawn, main thread just woke up. Cleaning things out...\n"); - code = xstat_fs_Cleanup(1); /*Get rid of malloc'ed data */ + xstat_fs_Cleanup(1); /*Get rid of malloc'ed data */ rx_Finalize(); return (0); }