* Remove unused elements from yp_2_yperr
@ 2004-11-30 15:04 Andreas Schwab
2004-12-05 23:04 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2004-11-30 15:04 UTC (permalink / raw)
To: libc-hacker
ypprot_err never references anything beyond YP_NOKEY from yp_2_yperr, so
these elements can be removed.
Andreas.
2004-11-30 Andreas Schwab <schwab@suse.de>
* nis/ypclnt.c (ypprot_err): Remove unused entries.
Index: nis/ypclnt.c
===================================================================
RCS file: /cvs/glibc/libc/nis/ypclnt.c,v
retrieving revision 1.49
diff -u -p -a -u -p -a -r1.49 nis/ypclnt.c
--- nis/ypclnt.c 12 Nov 2004 19:05:10 -0000 1.49
+++ nis/ypclnt.c 30 Nov 2004 15:00:03 -0000
@@ -829,11 +829,6 @@ yperr_string (const int error)
static const int8_t yp_2_yperr[] =
{
#define YP2YPERR(yp, yperr) [YP_##yp - YP_VERS] = YPERR_##yperr
- YP2YPERR (TRUE, SUCCESS),
- YP2YPERR (NOMORE, NOMORE),
- YP2YPERR (FALSE, YPERR),
- YP2YPERR (NOMAP, MAP),
- YP2YPERR (NODOM, DOMAIN),
YP2YPERR (NOKEY, KEY),
YP2YPERR (BADOP, YPERR),
YP2YPERR (BADDB, BADDB),
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Remove unused elements from yp_2_yperr
2004-11-30 15:04 Remove unused elements from yp_2_yperr Andreas Schwab
@ 2004-12-05 23:04 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-12-05 23:04 UTC (permalink / raw)
To: Andreas Schwab; +Cc: libc-hacker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Applied.
- --
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBs5PM2ijCOnn/RHQRAjexAJ9b4vBCOQlNXMPWMbbnYzk45RTYPwCgpmaA
CkN+p4wu+dNFiwO/Xcxx//8=
=eufR
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-05 23:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30 15:04 Remove unused elements from yp_2_yperr Andreas Schwab
2004-12-05 23:04 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).