This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-90-gc75fa15
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 7 Jul 2011 02:30:05 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-90-gc75fa15
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via c75fa153a93eca56aec4f398770d3afc249ae5b5 (commit)
from 1a544854c23369da3ab3f3a3298fab1a4802ea62 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c75fa153a93eca56aec4f398770d3afc249ae5b5
commit c75fa153a93eca56aec4f398770d3afc249ae5b5
Author: Andreas Jaeger <aj@suse.de>
Date: Wed Jul 6 22:29:45 2011 -0400
Fix warnings in resolver code
diff --git a/ChangeLog b/ChangeLog
index 1a90d02..bed2e27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-05 Andreas Jaeger <aj@suse.de>
+
+ * resolv/res_comp.c (dn_skipname): Remove unused variable.
+
2011-07-06 Marek Polacek <mpolacek@redhat.com>
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
diff --git a/resolv/res_comp.c b/resolv/res_comp.c
index 8157b97..c7212fa 100644
--- a/resolv/res_comp.c
+++ b/resolv/res_comp.c
@@ -152,7 +152,7 @@ libresolv_hidden_def (dn_skipname)
int
res_hnok(const char *dn) {
- int ppch = '\0', pch = PERIOD, ch = *dn++;
+ int pch = PERIOD, ch = *dn++;
while (ch != '\0') {
int nch = *dn++;
@@ -169,7 +169,7 @@ res_hnok(const char *dn) {
if (!middlechar(ch))
return (0);
}
- ppch = pch, pch = ch, ch = nch;
+ pch = ch, ch = nch;
}
return (1);
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
resolv/res_comp.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources