projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a54485
)
Fix warnings in resolver code
author
Andreas Jaeger
<aj@suse.de>
Thu, 7 Jul 2011 02:29:45 +0000
(22:29 -0400)
committer
Ulrich Drepper
<drepper@gmail.com>
Thu, 7 Jul 2011 02:29:45 +0000
(22:29 -0400)
ChangeLog
patch
|
blob
|
history
resolv/res_comp.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
1a90d02
..
bed2e27
100644
(file)
--- 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
(file)
--- 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 p
pch = '\0', p
ch = 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);
}
- p
pch = pch, p
ch = ch, ch = nch;
+ pch = ch, ch = nch;
}
return (1);
}