From: Simon Wilkinson Date: Sun, 10 Jul 2011 12:57:36 +0000 (+0100) Subject: volser: Don't initialise all error tables X-Git-Tag: upstream/1.8.0_pre1^2~3300 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b34d7aa051d9bc8bcf8de2403c94741c0961af18;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 3c126eebf..b32075985 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),