* error_message.c (error_message): Conditional label on _sgi so
authorEzra Peisach <epeisach@mit.edu>
Thu, 21 Jun 2001 13:39:26 +0000 (13:39 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 21 Jun 2001 13:39:26 +0000 (13:39 +0000)
        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
src/util/et/error_message.c

index 94a42469943bc3b03660bd2a472081b40e842d98..440b6c62fe6963bbfad50d4766f6ac4eb1fde17b 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-20  Ezra Peisach  <epeisach@mit.edu>
+
+       * 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  <raeburn@mit.edu>
 
        * error_message.c (error_message): Handle some Irix error codes
index 4870e88f4eba6e403a43f9d790779dcf26aaef86..0d74d306e58b0adcacf33a47f3a530ff5dc2193d 100644 (file)
@@ -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;