From 5876a999023ea9b34cc895757def9506bc903a84 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 7 Dec 2011 06:46:19 +0000 Subject: =?UTF-8?q?2011-12-07=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libnetworking/libc/ns_parse.c (ns_parserr): Comment out if ( section < 0 ) (type is unsigned). --- cpukit/ChangeLog | 2 ++ cpukit/libnetworking/libc/ns_parse.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 0f4a341fc7..52d6912e83 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 2011-12-07 Ralf Corsépius + * libnetworking/libc/ns_parse.c (ns_parserr): + Comment out if ( section < 0 ) (type is unsigned). * libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer (Unused). diff --git a/cpukit/libnetworking/libc/ns_parse.c b/cpukit/libnetworking/libc/ns_parse.c index e4e087d26b..f0ada7df4f 100644 --- a/cpukit/libnetworking/libc/ns_parse.c +++ b/cpukit/libnetworking/libc/ns_parse.c @@ -124,7 +124,7 @@ ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { int b; /* Make section right. */ - if (section < 0 || section >= ns_s_max) + if ( /* section < 0 || */ section >= ns_s_max) goto enodev; if ((int)section != (int)handle->_sect) { handle->_sect = section; -- cgit v1.2.3