Code cleanup.
This commit is contained in:
@@ -79,8 +79,6 @@ namespace Cryville.Crtr {
|
|||||||
var result = new SIdentifier[LoadedOperandCount];
|
var result = new SIdentifier[LoadedOperandCount];
|
||||||
for (int i = 0; i < LoadedOperandCount; i++) {
|
for (int i = 0; i < LoadedOperandCount; i++) {
|
||||||
var op = GetOperand(i);
|
var op = GetOperand(i);
|
||||||
if (op.Type != PdtInternalType.Undefined)
|
|
||||||
throw new InvalidCastException("Not an identifier");
|
|
||||||
result[i] = new SIdentifier(op.AsIdentifier());
|
result[i] = new SIdentifier(op.AsIdentifier());
|
||||||
}
|
}
|
||||||
_cb(result);
|
_cb(result);
|
||||||
|
Reference in New Issue
Block a user