change log for rtems (2011-10-02)

rtems-vc at rtems.org rtems-vc at rtems.org
Sun Oct 2 06:12:09 UTC 2011


 *ralf*:
2011-10-02	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libnetworking/libc/res_comp.c: Eliminate unused var "ppch".

M 1.2931  cpukit/ChangeLog
M    1.5  cpukit/libnetworking/libc/res_comp.c

diff -u rtems/cpukit/ChangeLog:1.2930 rtems/cpukit/ChangeLog:1.2931
--- rtems/cpukit/ChangeLog:1.2930	Fri Sep 30 08:08:44 2011
+++ rtems/cpukit/ChangeLog	Sun Oct  2 00:23:45 2011
@@ -1,3 +1,7 @@
+2011-10-02	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* libnetworking/libc/res_comp.c: Eliminate unused var "ppch".
+
 2011-09-30	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* configure.ac: Check for size of time_t.

diff -u rtems/cpukit/libnetworking/libc/res_comp.c:1.4 rtems/cpukit/libnetworking/libc/res_comp.c:1.5
--- rtems/cpukit/libnetworking/libc/res_comp.c:1.4	Mon Sep  1 01:59:32 2008
+++ rtems/cpukit/libnetworking/libc/res_comp.c	Sun Oct  2 00:23:46 2011
@@ -150,7 +150,7 @@
 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 @@
 			if (!middlechar(ch))
 				return (0);
 		}
-		ppch = pch, pch = ch, ch = nch;
+		pch = ch, ch = nch;
 	}
 	return (1);
 }



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111002/2c7cb6a3/attachment.html>


More information about the vc mailing list