Skip to content

Commit ac0feb8

Browse files
author
bwelling
committed
fix a few compiler warnings
git-svn-id: http://svn.code.sf.net/p/dnsjava/code/trunk@1567 c76caeb1-94fd-44dd-870f-0c9d92034fc1
1 parent 010a43b commit ac0feb8

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

jnamed.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.net.*;
55
import java.util.*;
66
import org.xbill.DNS.*;
7-
import org.xbill.DNS.utils.*;
87

98
/** @author Brian Wellington <[email protected]> */
109

@@ -392,8 +391,6 @@ else if (sr.isSuccessful()) {
392391
Header header;
393392
boolean badversion;
394393
int maxLength;
395-
boolean sigonly;
396-
SetResponse sr;
397394
int flags = 0;
398395

399396
header = query.getHeader();

update.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,13 +375,12 @@ record = Record.newRecord(name, type, DClass.NONE, 0);
375375
Name name;
376376
Record record;
377377
int type;
378-
int dclass;
379378

380379
name = st.getName(zone);
381380
token = st.get();
382381
if (token.isString()) {
383382
s = token.value;
384-
if ((dclass = DClass.value(s)) >= 0) {
383+
if (DClass.value(s) >= 0) {
385384
s = st.getString();
386385
}
387386
if ((type = Type.value(s)) < 0)

0 commit comments

Comments
 (0)