From 75e454c0f8249b106b092220d3d7d7f5a9498833 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 2 Oct 2011 05:23:46 +0000 Subject: =?UTF-8?q?2011-10-02=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libnetworking/libc/res_comp.c: Eliminate unused var "ppch". --- cpukit/libnetworking/libc/res_comp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libnetworking/libc/res_comp.c') 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); } -- cgit v1.2.3