Skip to content

Commit

Permalink
Change never-reachable code from assignmen to return (one more fix for
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 5, 2021
1 parent bfd149a commit 0f57cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ctc/wstx/dtd/FullDTDReader.java
Expand Up @@ -2769,7 +2769,7 @@ private void handleAttrDecl(DTDElement elem, char c, int index,
throwDTDAttrError("Unrecognized attribute default value directive #"+defTypeStr
+ErrorConsts.ERR_DTD_DEFAULT_TYPE,
elem, attrName);
defVal = null; // never gets here...
return; // never gets here...
}
} else {
defVal = DefaultAttrValue.constructOptional();
Expand Down

0 comments on commit 0f57cd2

Please sign in to comment.