dnsapi: Remove a useless check.

This commit is contained in:
Austin English 2008-12-05 01:12:36 -06:00 committed by Alexandre Julliard
parent aebd13f768
commit 21bc015db3
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ dns_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 >= ns_s_max)
RETERR(ENODEV);
if (section != handle->_sect)
setsection(handle, section);