summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/res_comp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/libc/res_comp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/libc/res_comp.c b/cpukit/libnetworking/libc/res_comp.c
index 7240e56081..377d283ac5 100644
--- a/cpukit/libnetworking/libc/res_comp.c
+++ b/cpukit/libnetworking/libc/res_comp.c
@@ -150,7 +150,7 @@ dn_skipname(const u_char *ptr, const u_char *eom) {
int
res_hnok(const char *dn)
{
- int ppch = '\0', pch = PERIOD, ch = *dn++;
+ int pch = PERIOD, ch = *dn++;
while (ch != '\0') {
int nch = *dn++;
@@ -167,7 +167,7 @@ res_hnok(const char *dn)
if (!middlechar(ch))
return (0);
}
- ppch = pch, pch = ch, ch = nch;
+ pch = ch, ch = nch;
}
return (1);
}