Austin English : dnsapi: Remove a useless check.
Alexandre Julliard
julliard at winehq.org
Fri Dec 5 07:43:01 CST 2008
Module: wine
Branch: master
Commit: 21bc015db3e9013d3604afdd26daf39614239bdb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=21bc015db3e9013d3604afdd26daf39614239bdb
Author: Austin English <austinenglish at gmail.com>
Date: Fri Dec 5 01:12:36 2008 -0600
dnsapi: Remove a useless check.
---
dlls/dnsapi/ns_parse.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dnsapi/ns_parse.c b/dlls/dnsapi/ns_parse.c
index cb9aa62..bfb83c2 100644
--- a/dlls/dnsapi/ns_parse.c
+++ b/dlls/dnsapi/ns_parse.c
@@ -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);
More information about the wine-cvs
mailing list