From b34d7aa051d9bc8bcf8de2403c94741c0961af18 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Sun, 10 Jul 2011 13:57:36 +0100 Subject: [PATCH] volser: Don't initialise all error tables Initialising the KA and cmd error tables in vsprocs.c makes the libvolser library dependent upon rxkad and cmd. As we may want to use that library in programs which use neither rxkad, nor our command processor, this is less than ideal. So, just drop the initialisations. Change-Id: Ifd47b1b16fc014f969e2b487451e21877b6a5407 Reviewed-on: http://gerrit.openafs.org/5374 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/volser/vsprocs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 3c126eebfc..b32075985b 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -386,11 +386,9 @@ PrintError(char *msg, afs_int32 errcode) break; default: { - initialize_KA_error_table(); initialize_RXK_error_table(); initialize_KTC_error_table(); initialize_ACFG_error_table(); - initialize_CMD_error_table(); initialize_VL_error_table(); fprintf(STDERR, "%s: %s\n", afs_error_table_name(errcode),