From b772388e1feae5fd248e4696c634da4c56045e42 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 21 Jun 2001 13:39:26 +0000 Subject: [PATCH] * error_message.c (error_message): Conditional label on _sgi so gcc does not warn about being defined and not used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13438 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/et/ChangeLog | 5 +++++ src/util/et/error_message.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 94a424699..440b6c62f 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,8 @@ +2001-06-20 Ezra Peisach + + * error_message.c (error_message): Conditional label on _sgi so + gcc does not warn about being defined and not used. + 2001-06-19 Ken Raeburn * error_message.c (error_message): Handle some Irix error codes diff --git a/src/util/et/error_message.c b/src/util/et/error_message.c index 4870e88f4..0d74d306e 100644 --- a/src/util/et/error_message.c +++ b/src/util/et/error_message.c @@ -92,7 +92,9 @@ error_message(long code) offset = l_offset; table_num = ((unsigned long)code - l_offset) & ERRCODE_MAX; if (table_num == 0) { +#ifdef __sgi system_error_code: +#endif if (code == 0) goto oops; -- 2.26.2