ARTEMIS-4695 DLS_DEAD_LOCAL_STORE in AMQPLargeMessage.java
The local variable constructorPos is initialized with the value of buffer.position() in line 330, but the variable itself is not used anywhere else, which may indicate an error.
This commit is contained in:
parent
97a9c690ae
commit
fc13a39c6f
|
@ -322,7 +322,6 @@ public class AMQPLargeMessage extends AMQPMessage implements LargeServerMessage
|
|||
decoder.setBuffer(buffer);
|
||||
|
||||
try {
|
||||
int constructorPos = buffer.position();
|
||||
TypeConstructor<?> constructor = decoder.readConstructor();
|
||||
if (Header.class.equals(constructor.getTypeClass())) {
|
||||
header = (Header) constructor.readValue();
|
||||
|
|
Loading…
Reference in New Issue