From: Ken Raeburn Date: Wed, 2 Jun 2004 23:40:12 +0000 (+0000) Subject: * disp_com_err_status.c (init_et): Variable deleted. X-Git-Tag: krb5-1.4-beta1~376 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97338a5a792e78c38242c4d76b4d4ecc8bc47102;p=krb5.git * disp_com_err_status.c (init_et): Variable deleted. (g_display_com_err_status): Don't call initialize_ggss_error_table conditionally; instead, always call gssint_initialize_library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16391 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index a9f93eb14..ec34f6b5a 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,9 @@ +2004-06-02 Ken Raeburn + + * disp_com_err_status.c (init_et): Variable deleted. + (g_display_com_err_status): Don't call initialize_ggss_error_table + conditionally; instead, always call gssint_initialize_library. + 2004-04-24 Ken Raeburn * gssapiP_generic.h (G_SET_INIT): Use the new mutex partial diff --git a/src/lib/gssapi/generic/disp_com_err_status.c b/src/lib/gssapi/generic/disp_com_err_status.c index c4db91375..24511dfe5 100644 --- a/src/lib/gssapi/generic/disp_com_err_status.c +++ b/src/lib/gssapi/generic/disp_com_err_status.c @@ -31,7 +31,6 @@ /**/ -static int init_et = 0; static const char * const no_error = "No error"; /**/ @@ -53,10 +52,7 @@ g_display_com_err_status(minor_status, status_value, status_string) status_string->length = 0; status_string->value = NULL; - if (!init_et) { - initialize_ggss_error_table(); - init_et = 1; - } + (void) gssint_initialize_library(); if (! g_make_string_buffer(((status_value == 0)?no_error: error_message(status_value)),